From 4d202ebb18ece7f374e393852e64d938b9b1d61f Mon Sep 17 00:00:00 2001 From: Theis Pieter Hollebeek Date: Wed, 8 Feb 2023 11:44:30 +0100 Subject: [PATCH] border radius on dropdown --- frontend/style.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/frontend/style.css b/frontend/style.css index 2e1a807..1788446 100644 --- a/frontend/style.css +++ b/frontend/style.css @@ -77,11 +77,11 @@ body { flex-direction: column; top: var(--topbar-offset); right: 0; - background-color: var(--brand); box-shadow: 0px 5px 1px RGBA(127, 127, 127, 0.2); transform: scaleY(0); transition: transform 0.2s; transform-origin: 0% 0%; + border-radius: 0 0 0 5px; } #dropdown.enabled, #dropdown:focus-within { @@ -89,6 +89,7 @@ body { } #dropdown a { + background-color: var(--brand); color: var(--light); padding: 1rem 1rem; font-weight: bold; @@ -100,6 +101,10 @@ body { background-color: var(--brand-300); } +#dropdown a:last-child { + border-radius: 0 0 0 5px; +} + main { text-align: center;