mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
fix: keyboard unable to target theme switcher (#488)
This commit is contained in:
parent
fc4433e640
commit
24b360cb17
1 changed files with 2 additions and 1 deletions
|
@ -224,7 +224,8 @@ button:hover {
|
|||
border-radius: 99em;
|
||||
background-color: var(--theme-bg);
|
||||
}
|
||||
#theme-toggle:focus-within {
|
||||
|
||||
#theme-toggle > label:focus-within {
|
||||
outline: 2px solid transparent;
|
||||
box-shadow: 0 0 0 0.08em var(--theme-accent), 0 0 0 0.12em white;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue