From 8b99387005f47134acb2ff666c6afe543899a0f1 Mon Sep 17 00:00:00 2001 From: Ignacio Rivero Date: Wed, 13 Aug 2025 17:44:34 -0300 Subject: [PATCH] Fix countdown page height to prevent unwanted scrolling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove default margins/padding and use viewport height with box-sizing to ensure the container fits exactly within the viewport. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- static/css/styles.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/static/css/styles.css b/static/css/styles.css index 6440087..a05765d 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -13,6 +13,8 @@ html { html, body { height: 100%; + margin: 0; + padding: 0; } html[data-scheme="dark"] body { @@ -26,10 +28,11 @@ html[data-scheme="light"] body { } .container { - min-height: 100%; + min-height: 100vh; display: grid; place-items: center; padding: 2rem; + box-sizing: border-box; } .card {