From df5cbf4ded6dd8f7256dbdf9bb4405fd70b8c613 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 27 Oct 2023 01:54:31 +0200 Subject: Fix padding issue with links in popup menus. --- public/common/client.css | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'public') 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; -- cgit v1.2.3