diff options
| author | Mark Otto <[email protected]> | 2017-05-27 18:47:07 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2017-05-28 21:12:55 -0700 |
| commit | 8a2d845a4f7fe1611da79c6d4349d9bcd1117832 (patch) | |
| tree | 0952167eb32eb9fd001777dce63a3a701e4b0484 | |
| parent | 793e84400cec314198df38b6ae0a06e4711f72de (diff) | |
| download | bootstrap-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.scss | 2 |
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 { |
