1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

Fix -flex compile on Sass Ruby #17046

This commit is contained in:
Gleb Mazovetskiy 2015-08-20 08:38:02 +01:00
parent 6b1cf58d58
commit f88cbe7ee4

View file

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