mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-25 07:17:23 +08:00
style: use focus-visible instead of focus
This commit is contained in:
parent
8105169e96
commit
dd53122e0d
1 changed files with 2 additions and 2 deletions
|
|
@ -346,9 +346,9 @@ key {
|
|||
background: var(--text-color);
|
||||
outline: none;
|
||||
}
|
||||
&:focus {
|
||||
&:focus-visible {
|
||||
box-shadow: 0 0 0 0.15em var(--text-color);
|
||||
// outline: 2px solid var(--text-color);
|
||||
outline: none;
|
||||
}
|
||||
&:active {
|
||||
background: var(--sub-color);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue