diff options
| author | Hsieh Chin Fan <pham@topo.tw> | 2024-10-08 00:58:52 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <pham@topo.tw> | 2024-10-08 10:28:47 +0800 |
| commit | fbf32ffb4f7756beebc55ddad76ca343459f27cd (patch) | |
| tree | ed904ed61a51f00bb09bc6ab95e53aa4bf8bf753 | |
| parent | a915a0f136cffdfb0c2cebb165ec16e95a113e84 (diff) | |
fix: border for single menu-item
| -rw-r--r-- | src/css/dumbymap.css | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/css/dumbymap.css b/src/css/dumbymap.css index d9a7791..ae58b3e 100644 --- a/src/css/dumbymap.css +++ b/src/css/dumbymap.css | |||
| @@ -254,12 +254,14 @@ a[href^='http']:not(:has(img))::after, | |||
| 254 | 254 | ||
| 255 | & > *:first-child { | 255 | & > *:first-child { |
| 256 | border-top: 2px solid transparent; | 256 | border-top: 2px solid transparent; |
| 257 | border-radius: 5px 5px 0 0; | 257 | border-top-left-radius: 5px; |
| 258 | border-top-right-radius: 5px; | ||
| 258 | } | 259 | } |
| 259 | 260 | ||
| 260 | & > *:last-child { | 261 | & > *:last-child { |
| 261 | border-bottom: 2px solid transparent; | 262 | border-bottom: 2px solid transparent; |
| 262 | border-radius: 0 0 5px 5px; | 263 | border-bottom-left-radius: 5px; |
| 264 | border-bottom-right-radius: 5px; | ||
| 263 | } | 265 | } |
| 264 | 266 | ||
| 265 | &.editor-menu { | 267 | &.editor-menu { |