From 3da607a728b36a9be056622b8168026731f07f62 Mon Sep 17 00:00:00 2001 From: Quinton Jason Date: Mon, 30 Sep 2024 15:36:58 -0500 Subject: [PATCH] fix: added missing logical props --- docs/lib/sage-frontend/stylesheets/docs/_icon.scss | 8 ++++---- .../sage-assets/lib/stylesheets/components/_icon.scss | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/lib/sage-frontend/stylesheets/docs/_icon.scss b/docs/lib/sage-frontend/stylesheets/docs/_icon.scss index 6891de8ec9..ad1f70e911 100644 --- a/docs/lib/sage-frontend/stylesheets/docs/_icon.scss +++ b/docs/lib/sage-frontend/stylesheets/docs/_icon.scss @@ -9,7 +9,7 @@ flex-direction: column; flex-wrap: wrap; align-items: center; - margin-bottom: sage-spacing(); + margin-block-end: sage-spacing(); padding: sage-spacing(lg) sage-spacing(sm); text-align: center; background: sage-color(grey, 150); @@ -18,15 +18,15 @@ } .docs-icon-block__label { - margin-top: sage-spacing(xs); - margin-bottom: 0; + margin-block-start: sage-spacing(xs); + margin-block-end: 0; font-size: sage-font-size(body-xs); font-weight: sage-font-weight(semibold); } .docs-icon-inline { - margin-bottom: sage-spacing(sm); + margin-block-end: sage-spacing(sm); padding: sage-spacing(sm); text-align: right; background: sage-color(grey, 150); diff --git a/packages/sage-assets/lib/stylesheets/components/_icon.scss b/packages/sage-assets/lib/stylesheets/components/_icon.scss index c4e6cffea5..6e61524f08 100644 --- a/packages/sage-assets/lib/stylesheets/components/_icon.scss +++ b/packages/sage-assets/lib/stylesheets/components/_icon.scss @@ -75,7 +75,7 @@ $-icon-beside-type: ( .sage-tab--icon-#{$icon-name}::before { @include sage-icon-base($icon-name, md, pine); - margin-right: sage-spacing(xs); + margin-inline-end: sage-spacing(xs); } .sage-choice--icon-#{$icon-name}::before { @@ -115,7 +115,7 @@ $-icon-beside-type: ( white-space: nowrap; &::before { - margin-right: sage-spacing(xs); + margin-inline-end: sage-spacing(xs); @include sage-icon-base($icon-name, md, pine); }