1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-31 17:11:48 +02:00

Revamp grid classes to require .col base class and improve flexbox grid classes with auto layout via flex: 1

This commit is contained in:
Mark Otto
2016-02-06 00:45:29 -08:00
parent 18be3be3f4
commit 5a9538d4c7
3 changed files with 17 additions and 17 deletions

View File

@@ -35,7 +35,9 @@
@mixin make-col($gutter: $grid-gutter-width) {
position: relative;
@if not $enable-flex {
@if $enable-flex {
flex: 1;
} @else {
float: left;
}
min-height: 1px;