1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-30 08:39:56 +02:00

stub out flexbox grid variation via -flex

This commit is contained in:
Mark Otto
2015-04-27 01:43:14 -07:00
parent b9ed61854c
commit 9d4d6ef3a2
4 changed files with 45 additions and 3 deletions

View File

@@ -22,7 +22,11 @@
@include media-breakpoint-up($breakpoint) {
// Work around cross-media @extend (https://github.com/sass/sass/issues/1050)
%grid-column-float-#{$breakpoint} {
float: left;
@if $enable-flex {
// Do nothing
} @else {
float: left;
}
}
@for $i from 1 through $columns {
.col-#{$breakpoint}-#{$i} {