aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2017-04-07 11:41:44 -0700
committerMark Otto <[email protected]>2017-04-07 14:22:49 -0700
commit2436ad589cfc235c84160fe14e4cc4ec97a9c5ca (patch)
tree99f965a7f199f79c7949b7c7ead3aebd88322bff
parentc6168b64ed32a4787365d03a5fa65de157799452 (diff)
downloadbootstrap-2436ad589cfc235c84160fe14e4cc4ec97a9c5ca.tar.xz
bootstrap-2436ad589cfc235c84160fe14e4cc4ec97a9c5ca.zip
drop flex and max-width, just use width
-rw-r--r--scss/mixins/_grid.scss7
1 files changed, 1 insertions, 6 deletions
diff --git a/scss/mixins/_grid.scss b/scss/mixins/_grid.scss
index cf4f58b5a..87920e284 100644
--- a/scss/mixins/_grid.scss
+++ b/scss/mixins/_grid.scss
@@ -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) {