From f773658e6e1cf3d3ba4cc69d9a43d2f87aacc030 Mon Sep 17 00:00:00 2001 From: Adnan Ashraf Date: Fri, 4 Apr 2025 03:48:51 +0530 Subject: [PATCH] fix: prevent white space on header/footer scroll (#454) Signed-off-by: Adnan Ashraf --- website/package-lock.json | 1 - website/static/css/main.css | 13 ++++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/website/package-lock.json b/website/package-lock.json index 109007cb..9317a711 100644 --- a/website/package-lock.json +++ b/website/package-lock.json @@ -4,7 +4,6 @@ "requires": true, "packages": { "": { - "name": "website", "license": "Apache-2.0", "dependencies": { "axios": "^0.21.2", diff --git a/website/static/css/main.css b/website/static/css/main.css index e644e839..906d7549 100644 --- a/website/static/css/main.css +++ b/website/static/css/main.css @@ -6,6 +6,17 @@ */ /* Reset */ +html, body { + height: 100%; + width:100%; + margin: 0; + padding: 0; + overflow-y:auto; + overflow-x:hidden; + overscroll-behavior: contain; +} + + html, body, div, @@ -3787,4 +3798,4 @@ a:hover { text-align: left; max-width: 460px; margin-top: 35px; -} +} \ No newline at end of file