diff options
| author | Mark Otto <[email protected]> | 2015-05-27 17:37:22 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2015-05-27 17:37:22 -0700 |
| commit | 4bc58b9a5a1be4efb96e1e0e0f334cb2c5c8b7d9 (patch) | |
| tree | bcd7bb7667499c0158bcf0fe10c3cc7f5101afdf | |
| parent | 663576a7ae77fb3f6143ce59ea16511cdaf8e9c3 (diff) | |
| download | bootstrap-4bc58b9a5a1be4efb96e1e0e0f334cb2c5c8b7d9.tar.xz bootstrap-4bc58b9a5a1be4efb96e1e0e0f334cb2c5c8b7d9.zip | |
when using flexbox, don't add a clearfix
doing so fubars the grid column rounding (in safari at least) and causes layout problems
| -rw-r--r-- | scss/mixins/_grid.scss | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scss/mixins/_grid.scss b/scss/mixins/_grid.scss index 17998affb..56b8c6f20 100644 --- a/scss/mixins/_grid.scss +++ b/scss/mixins/_grid.scss @@ -14,10 +14,11 @@ @if $enable-flex { display: flex; flex-wrap: wrap; + } @else { + @include clearfix(); } margin-left: ($gutter / -2); margin-right: ($gutter / -2); - @include clearfix(); } @mixin make-col($gutter: $grid-gutter-width) { |
