Skip to content

Commit

Permalink
Fix flexbox grid for iOS 10 and below (#340)
Browse files Browse the repository at this point in the history
  • Loading branch information
bameyrick authored May 3, 2019
1 parent ed8c7be commit 25e01fc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/scss/utilities/_grid.scss
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@
@include mq($breakpoint-min) {
.col-#{$column}\@#{$breakpoint-min} {
width: $width;
flex-basis: $width;
max-width: $width;
}

Expand All @@ -180,7 +179,6 @@
@include mq($breakpoint-min, $breakpoint-max) {
.col-#{$column}\@#{$breakpoint-min}\@#{$breakpoint-max} {
width: $width;
flex-basis: $width;
max-width: $width;
}

Expand Down Expand Up @@ -270,6 +268,7 @@
font-size: 0.8rem;
padding: $grid-gutters / 2;
margin-bottom: $grid-gutters;

.grid--tight & {
margin-bottom: $grid-gutters / 2;
}
Expand Down

0 comments on commit 25e01fc

Please sign in to comment.