Add Prefers Reduced Motion support for most components (#133)

This commit is contained in:
Mysterious_Dev
2023-11-11 23:22:01 +01:00
committed by GitHub
parent bf5d391d53
commit 66154b30c1
9 changed files with 46 additions and 4 deletions

View File

@@ -53,6 +53,10 @@ export default {
transition: opacity 0.5s ease-in-out, filter 0.2s ease-in-out, transform 0.05s ease-in-out,
outline 0.2s ease-in-out;
@media (prefers-reduced-motion) {
transition: none !important;
}
span {
max-width: 10rem;
overflow: hidden;