You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cvrebert
changed the title
Containers are permanently forced to be either fixed or fluid
Add containers which responsively switch between being fluid or fixed-width
Nov 25, 2015
Containers are max-width right now, so they're always "responsive" in v4. Not sure I see much value in replacing the existing grid and container system with this—feels over engineered to me.
@mdo Yes, containers are already responsive but they cannot switch between fluid and fixed-width which provide very different layouts, especially on larger screens. The issue was not about making them responsive, but about allowing the same flexibility for containers as is done for columns.
I should've written that clearer—it's less about any particular behavior and more about the over-engineered aspect. The columns within those containers behave the same though—column widths are all set in percentages. A pixel-based max-width vs a width: 100% doesn't matter much.
The kind of control seems ripe just for overrides rather than a rethinking of a core part of the grid system at this point in v4's development process.
E.g. there are no classes like
container-md
. I wrote a gist to work around the issue.It seems odd that the framework allows column styles to be invoked only at certain screen widths, but not for containers (and rows).
The text was updated successfully, but these errors were encountered: