From 7238d02a1330ed675e6f322b8a7843d3938227ba Mon Sep 17 00:00:00 2001 From: adminoo Date: Mon, 2 Feb 2026 10:18:42 +0100 Subject: [PATCH] fix: body overflowing --- internal/web/static/css/main.css | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/internal/web/static/css/main.css b/internal/web/static/css/main.css index 805b374..213c0e9 100644 --- a/internal/web/static/css/main.css +++ b/internal/web/static/css/main.css @@ -54,9 +54,14 @@ /* SCREEN MODE */ @media screen { + body { + min-height: 100vh; + overflow: hidden; + } + aside, main { - height: 100vh; + height: 100%; overflow-y: auto; } @@ -71,6 +76,17 @@ /* UNIVERSAL */ @media all { + *, + *::before, + *::after { + box-sizing: border-box; + } + + html, + body { + height: 100%; + } + body { display: flex; background: var(--background1); @@ -225,7 +241,7 @@ border-left: 1px solid var(--border-color); background: #1a1a1a; color: var(--text1); - height: 100vh; + height: 100%; overflow-y: auto; }