Revert "site(a11y): apply prefers-reduced-motion handling for transitions (#5…" (#56896)

This reverts commit 191db91774.
This commit is contained in:
lijianan
2026-02-08 13:32:54 +08:00
committed by GitHub
parent 7cb9ca9336
commit 8e7ff042cd

View File

@@ -1,15 +1,6 @@
// FIXME: workaround for avoid searchbar styles be extracted to async chunk // FIXME: workaround for avoid searchbar styles be extracted to async chunk
@import 'dumi/theme-default/slots/SearchBar/index.less'; @import 'dumi/theme-default/slots/SearchBar/index.less';
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation: none;
transition: none;
}
}
.demo-logo { .demo-logo {
width: 120px; width: 120px;
min-width: 120px; min-width: 120px;