0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-28 10:24:19 +01:00

drop flex and max-width, just use width

This commit is contained in:
Mark Otto 2017-04-07 11:41:44 -07:00 committed by Mark Otto
parent c6168b64ed
commit 2436ad589c

View File

@ -67,12 +67,7 @@
}
@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) {