From 029a75e9b7cb8e077f4db494c3718479ecec1063 Mon Sep 17 00:00:00 2001 From: Julien Oculi Date: Tue, 6 Feb 2024 22:40:42 +0100 Subject: [PATCH] feat(ui): :wheelchair: limit main content width for wide screen --- src/stylesheets/layout.css | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/stylesheets/layout.css b/src/stylesheets/layout.css index 0b1f6a0..073dbad 100644 --- a/src/stylesheets/layout.css +++ b/src/stylesheets/layout.css @@ -1,4 +1,9 @@ body { - display: grid; - grid-template-rows: auto 1fr auto; + display: grid; + grid-template-rows: auto 1fr auto; +} + +main { + max-width: var(--_wide-screen); + margin: auto; }