Skip to content

Commit c6af21a

Browse files
committed
fix: remove margin in case of the value of col is a breakpoint
1 parent 32e29a8 commit c6af21a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

sass/_flexbox-grid-mixins.scss

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,7 @@ $flexbox-grid-mixins-box-sizing: border-box !default;
169169
@if $flexbox-grid-mixins-grid-type == skeleton {
170170
@include grid-col-margin($margin: 0 $gutter / 2 $gutter);
171171
} @else if $flexbox-grid-mixins-grid-type == margin-offset {
172-
@if type-of($col) == string and $col == 'breakpoint' {
173-
@include grid-col-margin($margin-right: 0);
174-
} @else if type-of($last-child) == bool and $last-child == true {
172+
@if type-of($last-child) == bool and $last-child == true {
175173
@include grid-col-margin($margin-right: 0);
176174
} @else {
177175
@include grid-col-margin($margin-right: $gutter);

0 commit comments

Comments
 (0)