]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
drop flex and max-width, just use width
authorMark Otto <markdotto@gmail.com>
Fri, 7 Apr 2017 18:41:44 +0000 (11:41 -0700)
committerMark Otto <markd.otto@gmail.com>
Fri, 7 Apr 2017 21:22:49 +0000 (14:22 -0700)
scss/mixins/_grid.scss

index cf4f58b5a5dd0299fd3c4fe4cb93247364053fc6..87920e284fe516698d12cd62f1d6bd6396721ef6 100644 (file)
 }
 
 @mixin make-col($size, $columns: $grid-columns) {
-  flex: 0 0 percentage($size / $columns);
-  // width: percentage($size / $columns);
-  // Add a `max-width` to ensure content within each column does not blow out
-  // the width of the column. Applies to IE10+ and Firefox. Chrome and Safari
-  // do not appear to require this.
-  max-width: percentage($size / $columns);
+  width: percentage($size / $columns);
 }
 
 @mixin make-col-offset($size, $columns: $grid-columns) {