fix: 点赞收藏反馈动效不再被 reduce-motion 媒体查询禁用

This commit is contained in:
Zhou Weidong committed 2026-11-12 12:48:41 +08:00
1 parent ecfbd3b8b5
commit 6fd936ac97
1 file changed
-5
-5
View File
@@ -529,8 +529,3 @@ body { background: var(--bg); color: var(--text); font-family: Roboto, Arial, He
.watch-actions button.active::after { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 1px solid #fff; pointer-events: none; animation: ymb-like-ring .5s ease-out forwards; }
.short-rail .rail-icon { position: relative; }
.short-rail button.active .rail-icon::after { content: ''; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid #fff; pointer-events: none; animation: ymb-like-ring .5s ease-out forwards; }
@media (prefers-reduced-motion: reduce) {
.watch-actions button.active svg, .short-rail button.active .rail-icon svg,
.watch-actions button.active > span, .short-rail button.active small,
.watch-actions button.active::after, .short-rail button.active .rail-icon::after { animation: none; }
}