From: Mark Otto Date: Sun, 28 May 2017 01:47:07 +0000 (-0700) Subject: Fix responsive .col-{infix}-auto X-Git-Tag: v4.0.0-beta~166^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a2d845a4f7fe1611da79c6d4349d9bcd1117832;p=thirdparty%2Fbootstrap.git 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`. --- diff --git a/scss/mixins/_grid-framework.scss b/scss/mixins/_grid-framework.scss index 5459a86f48..f7346f4a97 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 {