Skip to content

Commit

Permalink
Rename margin properties to logical ones
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlaki committed Feb 21, 2022
1 parent 6a0f5a3 commit 2cf0e6e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scss/mixin/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
}

> * {
margin-bottom: 0;
margin-top: 0;
margin-block-end: 0;
margin-block-start: 0;

@if $width and $align == none {
width: 100%;
Expand All @@ -44,9 +44,9 @@

> * + * {
@if $important == true {
margin-top: $gap !important;
margin-block-start: $gap !important;
} @else {
margin-top: $gap;
margin-block-start: $gap;
}
}

Expand All @@ -56,7 +56,7 @@
}

> :nth-child(#{$split}) {
margin-bottom: auto;
margin-block-end: auto;
}
}

Expand Down

0 comments on commit 2cf0e6e

Please sign in to comment.