fix: ensure animated elements are visible when prefers-reduced-motion is enabled (#7047)

This commit is contained in:
Zane
2026-02-06 11:27:08 -08:00
committed by GitHub
parent 3dcb03c6c7
commit 4dc1fbedd0

View File

@@ -373,6 +373,11 @@
[class*='animate-[wind'] {
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 */