Only add margin att block end, not start on group elements.
This commit is contained in:
parent
f13595fad3
commit
5ea8ebff46
2 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} {
|
||||
|
|
|
|||
|
|
@ -1,14 +1,14 @@
|
|||
.zebra-table,
|
||||
%zebra-table {
|
||||
--padding: .5rem;
|
||||
--cell-padding: .5rem;
|
||||
|
||||
@include respond-to-max(s) {
|
||||
--padding: .3rem;
|
||||
--cell-padding: .3rem;
|
||||
}
|
||||
|
||||
th,
|
||||
td {
|
||||
padding: var(--padding);
|
||||
padding: var(--cell-padding);
|
||||
}
|
||||
|
||||
thead {
|
||||
|
|
|
|||
Loading…
Reference in a new issue