Commit 4bc58b9a authored by Mark Otto's avatar Mark Otto

when using flexbox, don't add a clearfix

doing so fubars the grid column rounding (in safari at least) and causes layout problems
parent 663576a7
...@@ -14,10 +14,11 @@ ...@@ -14,10 +14,11 @@
@if $enable-flex { @if $enable-flex {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
} @else {
@include clearfix();
} }
margin-left: ($gutter / -2); margin-left: ($gutter / -2);
margin-right: ($gutter / -2); margin-right: ($gutter / -2);
@include clearfix();
} }
@mixin make-col($gutter: $grid-gutter-width) { @mixin make-col($gutter: $grid-gutter-width) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment