From 354d952567870afab0a2c63f0fb84f7ef12262c5 Mon Sep 17 00:00:00 2001 From: Chandler Swift Date: Fri, 28 Jul 2023 08:14:48 -0500 Subject: [PATCH] Fix spacing/padding/overflow style issues --- style.css | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/style.css b/style.css index f82d90d..b1beee7 100644 --- a/style.css +++ b/style.css @@ -1,5 +1,10 @@ @import "node_modules/ol/ol.css"; +html, body { + margin: 0; + padding: 0; +} + #map { position: absolute; top: 0; @@ -10,13 +15,19 @@ } .nav-open #map { - left: min(max(200px, 20%), 400px); + left: min(max(300px, 20%), 400px); } aside { - width: min(max(200px, 20%), 400px); - margin-left: max(min(-200px, -20%), -400px); + width: min(max(300px, 20%), 400px); + margin-left: max(min(-300px, -20%), -400px); transition: 0.25s; + max-height: 100vh; + overflow-y: auto; +} + +aside > div { + padding: 0 0.5em; } .nav-open aside {