fix: ensure animated elements are visible when prefers-reduced-motion is enabled (#7047)
This commit is contained in:
@@ -373,6 +373,11 @@
|
|||||||
[class*='animate-[wind'] {
|
[class*='animate-[wind'] {
|
||||||
animation: none !important;
|
animation: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Elements that use opacity-0 with appear animation need to be visible when animations are disabled */
|
||||||
|
.opacity-0[class*='animate-'] {
|
||||||
|
opacity: 1 !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Toast close button styling */
|
/* Toast close button styling */
|
||||||
|
|||||||
Reference in New Issue
Block a user