mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
Fix -flex compile on Sass Ruby #17046
This commit is contained in:
parent
6b1cf58d58
commit
f88cbe7ee4
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user