From 10f7837a7f59405ca8835281b02c864a82d09fc4 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 27 Sep 2025 01:11:12 +0300 Subject: [PATCH] style(website): full-height layout --- apps/website2/src/style.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/apps/website2/src/style.css b/apps/website2/src/style.css index eca2fa44b..d020e1ea3 100644 --- a/apps/website2/src/style.css +++ b/apps/website2/src/style.css @@ -26,6 +26,13 @@ body { margin: 0; line-height: 1.5; font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; + min-height: 100vh; +} + +main { + min-height: calc(100vh - 80px); + display: flex; + flex-direction: column; } body { @@ -40,11 +47,16 @@ a { .content-wrapper { max-width: 1200px; + width: 100%; margin: auto; } section { padding: 3em 0; + flex-grow: 1; + display: flex; + justify-content: center; + align-items: stretch; } section h2 {