Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
authorMark Otto <markdotto@gmail.com>2017-04-07 21:41:44 +0300
committerMark Otto <markd.otto@gmail.com>2017-04-08 00:22:49 +0300
commit2436ad589cfc235c84160fe14e4cc4ec97a9c5ca (patch)
tree99f965a7f199f79c7949b7c7ead3aebd88322bff /scss
parentc6168b64ed32a4787365d03a5fa65de157799452 (diff)
drop flex and max-width, just use width
Diffstat (limited to 'scss')
-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 cf4f58b5a5..87920e284f 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) {