fix: the page's centred blocks keep their full width in the column layout
All checks were successful
Build and deploy / Validate source (push) Successful in 5s
Build and deploy / Integration suite on a real stack (push) Successful in 2m44s
Build and deploy / Secret scan and release gate (push) Successful in 6s
Build and deploy / Publish images (push) Successful in 1m2s

Making the body a column to keep the footer at the bottom shrank every
block centred with auto margins (the account area, and two of the Site's
sections) to the width of its content. They take the full width again, up
to their max-width, exactly as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Cauê Faleiros
2026-09-30 17:34:09 -03:00
parent 0b86fe79fc
commit ef95dcc327

View File

@@ -82,3 +82,6 @@ footer a:hover{color:var(--laranja2)}
/* The footer sits at the bottom of the screen even when the page is short. */ /* The footer sits at the bottom of the screen even when the page is short. */
body{display:flex;flex-direction:column;min-height:100vh} body{display:flex;flex-direction:column;min-height:100vh}
body>footer{margin-top:auto} body>footer{margin-top:auto}
/* In a column, auto side margins shrink a box to its content: the page's
centred blocks keep their full width, up to their max-width, as before. */
body>.w{width:100%}