fix dropdown focus styling

This commit is contained in:
Theis Pieter Hollebeek 2023-02-08 13:25:02 +01:00 committed by SimonFJ20
parent fa10db953a
commit dd79fc826d

View File

@ -62,9 +62,10 @@ body {
transform: scale(1.7); transform: scale(1.7);
} }
#dropdown-button:focus { #dropdown-button:focus-visible {
outline: none; outline: none;
background-color: var(--brand-300); background-color: var(--brand-300);
border-radius: 5px;
} }
#dropdown-button:active { #dropdown-button:active {
@ -97,7 +98,7 @@ body {
outline: none; outline: none;
} }
#dropdown a:hover, a:focus { #dropdown a:hover, #dropdown a:focus {
background-color: var(--brand-300); background-color: var(--brand-300);
} }