Only add margin att block end, not start on group elements.
This commit is contained in:
parent
f13595fad3
commit
5ea8ebff46
1 changed files with 23 additions and 45 deletions
|
|
@ -1,10 +1,10 @@
|
|||
@each $name, $space in $spacing {
|
||||
.mt--#{$name} {
|
||||
@include margin-top($space);
|
||||
@include margin-block-start($space);
|
||||
}
|
||||
|
||||
.mb--#{$name} {
|
||||
@include margin-bottom($space);
|
||||
@include margin-block-end($space);
|
||||
}
|
||||
|
||||
.mtb--#{$name} {
|
||||
|
|
|
|||
Loading…
Reference in a new issue