diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2024-09-25 16:56:58 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2024-09-26 19:40:48 +0800 |
commit | a76267400efa062965fac3959c2bd405894eb3f3 (patch) | |
tree | e5042792b99f86d1b2547c3a8fb6bc7b3071d6f9 /src | |
parent | 435a2fcae3416fc0f37bfbfa2f27d2ec6f909d83 (diff) |
feat(CSS): improve looking
Diffstat (limited to 'src')
-rw-r--r-- | src/css/dumbymap.css | 6 | ||||
-rw-r--r-- | 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 { | |||
186 | 186 | ||
187 | justify-content: flex-start; | 187 | justify-content: flex-start; |
188 | 188 | ||
189 | :has(.map-container, [data-placeholder]) { | 189 | :has( > .map-container, > [data-placeholder]) { |
190 | display: flex; | 190 | display: flex; |
191 | gap: 0.5em; | 191 | gap: 0.5em; |
192 | 192 | ||
@@ -301,7 +301,7 @@ root { | |||
301 | position: absolute; | 301 | position: absolute; |
302 | left: 50%; | 302 | left: 50%; |
303 | top: 0; | 303 | top: 0; |
304 | z-index: 9999; | 304 | z-index: 5; |
305 | 305 | ||
306 | border: 2px black solid; | 306 | border: 2px black solid; |
307 | 307 | ||
@@ -486,7 +486,7 @@ root { | |||
486 | display: block; | 486 | display: block; |
487 | overflow: clip; | 487 | overflow: clip; |
488 | width: 100%; | 488 | width: 100%; |
489 | padding-bottom: 1em; | 489 | padding-bottom: 0.5em; |
490 | 490 | ||
491 | position: absolute; | 491 | position: absolute; |
492 | left: 0; | 492 | 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 { | |||
24 | 24 | ||
25 | flex: 1 0 calc(50% - 0.5em); | 25 | flex: 1 0 calc(50% - 0.5em); |
26 | height: 100%; | 26 | height: 100%; |
27 | overflow-y: scroll; | ||
28 | 27 | ||
29 | border: var(--content-border); | 28 | border: var(--content-border); |
30 | border-radius: var(--content-border-radius); | 29 | border-radius: var(--content-border-radius); |