diff options
| author | Hsieh Chin Fan <pham@topo.tw> | 2024-10-24 01:02:45 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <pham@topo.tw> | 2024-10-24 10:37:06 +0800 |
| commit | 405cc77d0b8e7e864137ba9f485c47e4f1fb07af (patch) | |
| tree | ef72d2947597b45057695f52bb1462c413183907 /src/css | |
| parent | 12c749d246c1f5759ec2e462e09d022cb1233efd (diff) | |
feat: improve menu element
* add observer for display and position, in case no menu item inside
* remove all existing menus when oncontextmenu
Diffstat (limited to 'src/css')
| -rw-r--r-- | src/css/dumbymap.css | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/css/dumbymap.css b/src/css/dumbymap.css index 8dfe90d..8ba0887 100644 --- a/src/css/dumbymap.css +++ b/src/css/dumbymap.css | |||
| @@ -171,7 +171,7 @@ pre:has(.mapclay) { | |||
| 171 | } | 171 | } |
| 172 | 172 | ||
| 173 | .menu { | 173 | .menu { |
| 174 | display: block; | 174 | display: none; |
| 175 | overflow: visible; | 175 | overflow: visible; |
| 176 | width: fit-content; | 176 | width: fit-content; |
| 177 | min-width: 10rem; | 177 | min-width: 10rem; |