mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
when using flexbox, don't add a clearfix
doing so fubars the grid column rounding (in safari at least) and causes layout problems
This commit is contained in:
parent
663576a7ae
commit
4bc58b9a5a
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user