Skip to content

Commit

Permalink
Fix column sizing in IE
Browse files Browse the repository at this point in the history
  • Loading branch information
bartaz committed Mar 25, 2020
1 parent 1434169 commit 1d40cd5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions scss/_base_grid-definitions.scss
Expand Up @@ -88,10 +88,10 @@
}

// flexbox approximation of grid column styles for IE
// this needs to be a @mixin rather than %placeholder because it's ised inside @media queries
@mixin vf-grid-flex-column {
// this needs to be a @mixin rather than %placeholder because it's used inside @media queries
@mixin vf-grid-flex-column($size: 1) {
flex-basis: 0;
flex-grow: 1;
flex-grow: $size;
flex-shrink: 1;

// set static gutter width
Expand Down
2 changes: 1 addition & 1 deletion scss/_patterns_grid.scss
Expand Up @@ -86,7 +86,7 @@
.#{$grid-large-col-prefix}#{$i} {
// on large screens provide flex box column implementation for IE
// on smaller screens let them display full width one under another
@include vf-grid-flex-column;
@include vf-grid-flex-column($i);
@include vf-grid-column($i);
}
}
Expand Down

0 comments on commit 1d40cd5

Please sign in to comment.