aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2017-05-27 18:47:07 -0700
committerMark Otto <[email protected]>2017-05-28 21:12:55 -0700
commit8a2d845a4f7fe1611da79c6d4349d9bcd1117832 (patch)
tree0952167eb32eb9fd001777dce63a3a701e4b0484
parent793e84400cec314198df38b6ae0a06e4711f72de (diff)
downloadbootstrap-8a2d845a4f7fe1611da79c6d4349d9bcd1117832.tar.xz
bootstrap-8a2d845a4f7fe1611da79c6d4349d9bcd1117832.zip
Fix responsive .col-{infix}-auto
Responsive automatic column resets weren't working because they inherited their `max-width` from lower grid tiers. This was because we were resetting the `width`, not the `max-width`.
-rw-r--r--scss/mixins/_grid-framework.scss2
1 files changed, 1 insertions, 1 deletions
diff --git a/scss/mixins/_grid-framework.scss b/scss/mixins/_grid-framework.scss
index 5459a86f4..f7346f4a9 100644
--- a/scss/mixins/_grid-framework.scss
+++ b/scss/mixins/_grid-framework.scss
@@ -36,7 +36,7 @@
}
.col#{$infix}-auto {
flex: 0 0 auto;
- width: auto;
+ max-width: none;
}
@for $i from 1 through $columns {