From d736c415dae57679e837e7b58de6a2d42795506f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Y=C3=BBki=20Vachot?= Date: Sun, 12 May 2024 04:00:09 +0200 Subject: [PATCH] Fix css --- styles.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/styles.css b/styles.css index 1d52725..3bd1621 100644 --- a/styles.css +++ b/styles.css @@ -1,8 +1,9 @@ html, body { - height: 100%; + height: 100vh; margin: 0; padding: 0; background: lightgrey; + overflow: hidden; } #container { @@ -11,11 +12,12 @@ html, body { height: 100vh; background: white; border: 1px solid #ccc; + overflow: hidden; } .graph-title { position: absolute; - top: 25px; + top: 10px; left: 50%; transform: translateX(-50%); font-size: 32px; @@ -27,7 +29,6 @@ html, body { } -/* The Drawer (background) */ .drawer { display: none; position: fixed; @@ -39,6 +40,7 @@ html, body { background-color: white; box-shadow: -2px 0 5px rgba(0,0,0,0.5); overflow-x: hidden; + overflow-y: auto; } .drawer-content {