mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 07:53:49 +08:00
A11Y: disable non-essential CSS animations for reduced-motion users (#23571)
This commit is contained in:
@ -26,7 +26,9 @@
|
||||
|
||||
.dot {
|
||||
display: inline-block;
|
||||
animation: wave 1.8s linear infinite;
|
||||
@media (prefers-reduced-motion: no-preference) {
|
||||
animation: wave 1.8s linear infinite;
|
||||
}
|
||||
|
||||
&:nth-child(2) {
|
||||
animation-delay: -1.6s;
|
||||
|
Reference in New Issue
Block a user