This occurred when using Zurb Foundation's XY grid but actually is a vanilla CSS Flex question; consider the following code:
<div style="display:flex;flex-direction:column;height:100vh">
<div style="flex: 1;background-color:yellow">
</div>
<div style="
background-color:blue;
color:white;
padding-right: 0.9375rem;
padding-left: 0.9375rem;
margin: 0 auto;
">
Why does this not span 100% width<br/>like any block elem would?
</div>
</div>
(Fiddle)
Why does the bottom div in its X-axis only takes as much width as needed by its content instead of taking the full width like any block element would normally do; and what should I do in order to achieve this (something better than settings its width to 100% maybe?)