mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-23 18:40:03 +00:00
Merge pull request #17756 from zalog/patch-11
Flexbox grid column wrapping bug
This commit is contained in:
commit
2502f84dde
@ -46,6 +46,7 @@
|
|||||||
@mixin make-col-span($size, $columns: $grid-columns) {
|
@mixin make-col-span($size, $columns: $grid-columns) {
|
||||||
@if $enable-flex {
|
@if $enable-flex {
|
||||||
flex: 0 0 percentage($size / $columns);
|
flex: 0 0 percentage($size / $columns);
|
||||||
|
max-width: percentage($size / $columns);
|
||||||
} @else {
|
} @else {
|
||||||
width: percentage($size / $columns);
|
width: percentage($size / $columns);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user