From a76267400efa062965fac3959c2bd405894eb3f3 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Wed, 25 Sep 2024 16:56:58 +0800 Subject: feat(CSS): improve looking --- src/css/dumbymap.css | 6 +++--- src/css/index.css | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/css/dumbymap.css b/src/css/dumbymap.css index c911510..ba0e0f9 100644 --- a/src/css/dumbymap.css +++ b/src/css/dumbymap.css @@ -186,7 +186,7 @@ root { justify-content: flex-start; - :has(.map-container, [data-placeholder]) { + :has( > .map-container, > [data-placeholder]) { display: flex; gap: 0.5em; @@ -301,7 +301,7 @@ root { position: absolute; left: 50%; top: 0; - z-index: 9999; + z-index: 5; border: 2px black solid; @@ -486,7 +486,7 @@ root { display: block; overflow: clip; width: 100%; - padding-bottom: 1em; + padding-bottom: 0.5em; position: absolute; left: 0; diff --git a/src/css/index.css b/src/css/index.css index a84a029..194ca9c 100644 --- a/src/css/index.css +++ b/src/css/index.css @@ -24,7 +24,6 @@ body { flex: 1 0 calc(50% - 0.5em); height: 100%; - overflow-y: scroll; border: var(--content-border); border-radius: var(--content-border-radius); -- cgit v1.2.3-70-g09d2