aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/css/dumbymap.css
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2024-10-02 15:07:01 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-10-02 15:07:01 +0800
commit045e55ce0547544e064f09f87bd1f75d7fa088b0 (patch)
tree7170010388ddaaf3be7cab647f427ad398bf4b5a /src/css/dumbymap.css
parent061a9e7de3f3426225f73e3cbd59942c1ceae2c8 (diff)
feat: prevent menu show outside of window
Diffstat (limited to 'src/css/dumbymap.css')
-rw-r--r--src/css/dumbymap.css3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/css/dumbymap.css b/src/css/dumbymap.css
index 3294e40..b3ff877 100644
--- a/src/css/dumbymap.css
+++ b/src/css/dumbymap.css
@@ -267,7 +267,6 @@ p a[href^='http']::after,
267 padding: 0.5rem; 267 padding: 0.5rem;
268 268
269 position: relative; 269 position: relative;
270 z-index: 9999;
271 270
272 cursor: pointer; 271 cursor: pointer;
273 text-wrap: nowrap; 272 text-wrap: nowrap;
@@ -299,7 +298,7 @@ p a[href^='http']::after,
299 max-height: 40vh; 298 max-height: 40vh;
300 299
301 position: absolute; 300 position: absolute;
302 z-index: 100; 301 z-index: 10000;
303 302
304 border: 2px solid gray; 303 border: 2px solid gray;
305 border-radius: 6px; 304 border-radius: 6px;