mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-29 02:07:55 +08:00
fix(settings): fix highlight not visible with reduced-motion (@fehmer) (#6719)
Highlight was not visible if the user has prefers-reduced-motion enabled.
This commit is contained in:
parent
9a6fe31a62
commit
477dc48673
1 changed files with 2 additions and 1 deletions
|
|
@ -493,7 +493,8 @@
|
|||
&.highlight {
|
||||
margin: -1em;
|
||||
padding: 1em;
|
||||
animation: flashBorder 4s ease-in;
|
||||
animation: flashBorder 4s ease-in forwards;
|
||||
box-shadow: 0 0 0 0.2em var(--sub-color);
|
||||
border-radius: var(--roundness);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue