]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix responsive .col-{infix}-auto
authorMark Otto <markd.otto@gmail.com>
Sun, 28 May 2017 01:47:07 +0000 (18:47 -0700)
committerMark Otto <markd.otto@gmail.com>
Mon, 29 May 2017 04:12:55 +0000 (21:12 -0700)
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`.

scss/mixins/_grid-framework.scss

index 5459a86f48357ff8fdbf03a2b9f0b8c576f5fab7..f7346f4a970c27990f62df2a0aa591499b259c11 100644 (file)
@@ -36,7 +36,7 @@
       }
       .col#{$infix}-auto {
         flex: 0 0 auto;
-        width: auto;
+        max-width: none;
       }
 
       @for $i from 1 through $columns {