Skip to content

Commit

Permalink
feat(grid): add mixin for grid wrap gutter modifier
Browse files Browse the repository at this point in the history
  • Loading branch information
larrybotha committed Apr 18, 2022
1 parent 78ef97e commit 7762a0c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scss/core/tools/mixins/components/grid/_grid-wraps.scss
Original file line number Diff line number Diff line change
Expand Up @@ -175,3 +175,11 @@
}
}
}
@mixin grid-wrap-gutter-modifier($modifier, $size, $classname: $grid-wrap-classname) {
@include grid-wrap-modifier($modifier, $classname: $grid-wrap-classname) {
@extend %grid-wrap;
margin-inline-start: -#{$size};

& > %grid__item { padding-inline-start: $size;}
}
}

0 comments on commit 7762a0c

Please sign in to comment.