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:
parent
6b1cf58d58
commit
f88cbe7ee4
1 changed files with 4 additions and 6 deletions
|
@ -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…
Reference in a new issue