From 986b7e8fe1cc64d77617d47207419960a90897bd Mon Sep 17 00:00:00 2001 From: Pagwin Date: Thu, 28 Aug 2025 19:33:06 -0400 Subject: [PATCH] using svw for various things which should fill the screen and I don't want cut off (progressive enhancement setup because why not) --- static/css/layout.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/static/css/layout.css b/static/css/layout.css index 137160e..5cde2aa 100644 --- a/static/css/layout.css +++ b/static/css/layout.css @@ -36,6 +36,7 @@ body { /*make the width and scrolling behavior correct * If horizontal scrolling is needed the layout broke*/ width: 100vw; + width: 100svw; overflow: hidden scroll; } @@ -142,10 +143,12 @@ header#header { align-items: center; justify-content: space-between; width: 100vw; + width: 100svw; padding: 0.5em 1em; } article { max-width: min(66ch, 100vw); + max-width: min(66ch, 100svw); width: 100%; padding: 1rem; }