From 9c90b79fe26dd0bb7fe26974ee94173783bb2f1e Mon Sep 17 00:00:00 2001 From: Snaylaker Date: Tue, 17 Feb 2026 13:48:41 +0100 Subject: [PATCH] fix: remove horizontal scroll caused by menu overflow --- assets/style.css | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/assets/style.css b/assets/style.css index 056e2f3..687002e 100644 --- a/assets/style.css +++ b/assets/style.css @@ -71,7 +71,7 @@ body { padding: 0; display: grid; - grid-template-columns: 250px auto; + grid-template-columns: 250px minmax(0, 1fr); grid-template-rows: auto 1fr; grid-template-areas: "logo menu" "side content" @@ -85,7 +85,6 @@ body { padding: 7px 20px 7px 0px; /* border-top: 1px solid #27b8f3;*/ /* border-bottom: 1px solid #27b8f3;*/ - width: 100%; margin-top: 2px; height: 1.5em; text-align: center; @@ -396,7 +395,7 @@ li { /* When the sidebar and logo are shown (burger menu active) */ body.show-sidebar { - grid-template-columns: 250px auto; /* Two columns: sidebar + content */ + grid-template-columns: 250px minmax(0, 1fr); grid-template-areas: "logo menu" "side content"