0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

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`.
This commit is contained in:
Mark Otto 2017-05-27 18:47:07 -07:00
parent 793e84400c
commit 8a2d845a4f

View File

@ -36,7 +36,7 @@
}
.col#{$infix}-auto {
flex: 0 0 auto;
width: auto;
max-width: none;
}
@for $i from 1 through $columns {