From c59ac80b6e25fa1dcbcdc55e434795842a5f2719 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Valenta?= <git@imaniti.org> Date: Wed, 14 Feb 2024 18:07:13 +0100 Subject: [PATCH] add gap & tighter leading --- donate/static/donate/assets/css/style.css | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/donate/static/donate/assets/css/style.css b/donate/static/donate/assets/css/style.css index 6e893c33..ceb7061c 100644 --- a/donate/static/donate/assets/css/style.css +++ b/donate/static/donate/assets/css/style.css @@ -1315,14 +1315,20 @@ img.full-width { @media screen and (min-width: 1200px) { /* Show the dropdown menu on hover */ .dropdown:hover .dropdown-content, - .dropdown:focus .dropdown-content{ - display: block; + .dropdown:focus .dropdown-content { + display: flex; + flex-direction: column; + gap: 0.75rem; background: black; padding: 0.8rem; margin-left: -0.8rem; width: 100%; } + .dropdown-content li { + line-height: 1.4rem + } + .dropdown:hover, .dropdown:focus { background: black -- GitLab