Skip to content

Commit

Permalink
fix: added missing logical props
Browse files Browse the repository at this point in the history
  • Loading branch information
QuintonJason committed Oct 15, 2024
1 parent 784842f commit 3da607a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions docs/lib/sage-frontend/stylesheets/docs/_icon.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions packages/sage-assets/lib/stylesheets/components/_icon.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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);
}
Expand Down

0 comments on commit 3da607a

Please sign in to comment.