diff options
author | 2021-06-17 16:05:22 -0400 | |
---|---|---|
committer | 2021-06-17 16:05:22 -0400 | |
commit | 24b360cb17d641ffd037b9032b5be672326ea21c (patch) | |
tree | aa96c54c63a6b24566256be087255dbec7963b55 | |
parent | fc4433e6408adf78743d186019c1f2dd15686b04 (diff) | |
download | astro-24b360cb17d641ffd037b9032b5be672326ea21c.tar.gz astro-24b360cb17d641ffd037b9032b5be672326ea21c.tar.zst astro-24b360cb17d641ffd037b9032b5be672326ea21c.zip |
fix: keyboard unable to target theme switcher (#488)
-rw-r--r-- | examples/docs/public/index.css | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/docs/public/index.css b/examples/docs/public/index.css index c5ae87f5c..4944ddbd4 100644 --- a/examples/docs/public/index.css +++ b/examples/docs/public/index.css @@ -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; } |