fix(webui): honor reduced motion for star invitation

This commit is contained in:
Xubin Ren committed 2026-09-28 00:48:05 +08:00
1 parent 57a4655451
commit cc4e49f314
2 files changed
+43 -2

No files matched your search

+3 -2
View File
@@ -61,9 +61,10 @@
@media (prefers-reduced-motion: reduce) {
.star-prompt-action .star-prompt-decoration,
.star-prompt-action .star-prompt-sparkle {
animation: none;
/* Override the more specific hover and focus-visible rules above. */
animation: none !important;
transition: none;
transform: none;
transform: none !important;
}
.star-prompt-action .star-prompt-sparkle { display: none; }
}