From 1fdf5f9b30178d303d05fa6af7192d851911bf73 Mon Sep 17 00:00:00 2001 From: marwin Date: Sun, 5 Apr 2026 18:01:23 +0200 Subject: [PATCH] Remove double scrollbar in Chrome PWA MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit html/body no longer scroll — overflow: hidden on both. .main-content gets height: calc(100% - nav-h) and overflow-y: auto so it's the single scroll container. The reader overlay is position: fixed so it's unaffected. Co-Authored-By: Claude Sonnet 4.6 --- static/css/app.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/static/css/app.css b/static/css/app.css index c331e62..329b0da 100644 --- a/static/css/app.css +++ b/static/css/app.css @@ -8,6 +8,11 @@ padding: 0; } +html, body { + height: 100%; + overflow: hidden; +} + :root { --bg: #000; --bg-card: transparent; @@ -139,6 +144,8 @@ a:hover { max-width: 1100px; margin: 0 auto; padding: 1rem 1.5rem calc(var(--bar-h) + 2rem); + height: calc(100% - var(--nav-h)); + overflow-y: auto; } /* =========================================================