summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-10-27 01:54:31 +0200
committerTor Andersson <tor@ccxvii.net>2023-10-27 02:14:25 +0200
commitdf5cbf4ded6dd8f7256dbdf9bb4405fd70b8c613 (patch)
tree1ce848b34f8da7272612cc6cc3410e5748a4aa9e
parent536ec2e8febc1d7934fa3c8eb5f7d5dfc800a745 (diff)
downloadserver-df5cbf4ded6dd8f7256dbdf9bb4405fd70b8c613.tar.gz
Fix padding issue with <a> links in popup menus.
-rw-r--r--public/common/client.css14
1 files changed, 8 insertions, 6 deletions
diff --git a/public/common/client.css b/public/common/client.css
index a58d1c6..b703ea5 100644
--- a/public/common/client.css
+++ b/public/common/client.css
@@ -262,12 +262,6 @@ details menu {
min-width: 140px;
}
-menu li a {
- display: block;
- text-decoration: none;
- color: inherit;
-}
-
summary img, #toolbar button img {
display: block;
height: 36px;
@@ -314,6 +308,14 @@ menu li {
cursor: pointer;
}
+menu li a {
+ display: block;
+ margin: -4px -8px;
+ padding: 4px 8px;
+ text-decoration: none;
+ color: inherit;
+}
+
menu li:hover {
background-color: black;
color: white;