mirror of
https://github.com/ant-design/ant-design.git
synced 2026-02-08 18:39:20 +08:00
Revert "site(a11y): apply prefers-reduced-motion handling for transitions (#5…" (#56896)
This reverts commit 191db91774.
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user