diff options
| author | Hsieh Chin Fan <pham@topo.tw> | 2024-10-01 23:37:15 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <pham@topo.tw> | 2024-10-01 23:37:15 +0800 |
| commit | a9c63b6b55040851707ddef851b412ab1635c0c6 (patch) | |
| tree | b1fbe597e0d4011d54b8b841b4e8060d120cbe2a /src | |
| parent | 2ed3544e628c86f3bb28923a15a012e65bcdab80 (diff) | |
fix: apply different style on menus
Diffstat (limited to 'src')
| -rw-r--r-- | src/css/dumbymap.css | 8 |
1 files changed, 6 insertions, 2 deletions
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 { | |||
| 233 | 233 | ||
| 234 | .menu { | 234 | .menu { |
| 235 | display: block; | 235 | display: block; |
| 236 | overflow: visible; | ||
| 236 | width: fit-content; | 237 | width: fit-content; |
| 237 | min-width: 10rem; | 238 | min-width: 10rem; |
| 238 | max-height: 40vh; | ||
| 239 | overflow-x: visible; | ||
| 240 | 239 | ||
| 241 | position: absolute; | 240 | position: absolute; |
| 242 | z-index: 9999; | 241 | z-index: 9999; |
| @@ -255,6 +254,11 @@ p a[href^='http']::after { | |||
| 255 | border-bottom: 2px solid transparent; | 254 | border-bottom: 2px solid transparent; |
| 256 | border-radius: 0 0 5px 5px; | 255 | border-radius: 0 0 5px 5px; |
| 257 | } | 256 | } |
| 257 | |||
| 258 | &.editor-menu { | ||
| 259 | max-height: 40vh; | ||
| 260 | overflow-y: scroll; | ||
| 261 | } | ||
| 258 | } | 262 | } |
| 259 | 263 | ||
| 260 | .menu-item { | 264 | .menu-item { |