From a9c63b6b55040851707ddef851b412ab1635c0c6 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Tue, 1 Oct 2024 23:37:15 +0800 Subject: fix: apply different style on menus --- src/css/dumbymap.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/css/dumbymap.css b/src/css/dumbymap.css index 5af794e..b7b9b7c 100644 --- a/src/css/dumbymap.css +++ b/src/css/dumbymap.css @@ -233,10 +233,9 @@ p a[href^='http']::after { .menu { display: block; + overflow: visible; width: fit-content; min-width: 10rem; - max-height: 40vh; - overflow-x: visible; position: absolute; z-index: 9999; @@ -255,6 +254,11 @@ p a[href^='http']::after { border-bottom: 2px solid transparent; border-radius: 0 0 5px 5px; } + + &.editor-menu { + max-height: 40vh; + overflow-y: scroll; + } } .menu-item { -- cgit v1.2.3-70-g09d2