Skip to content

Commit

Permalink
fix(loader): no longer animates when reduced motion is enabled (#5981)
Browse files Browse the repository at this point in the history
**Related Issue:** #3489 

## Summary

This PR will stop the loader from animating when reduced motion is
enabled.
  • Loading branch information
anveshmekala committed Dec 13, 2022
1 parent 3896e14 commit 4d994e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/assets/styles/_animation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,6 @@

@media (prefers-reduced-motion: reduce) {
:root {
--calcite-internal-duration-factor: 0.01;
--calcite-internal-duration-factor: 0;
}
}

0 comments on commit 4d994e5

Please sign in to comment.