perf: optimize menu animation #3095
parent
eef874b805
commit
b14410902c
|
@ -10,11 +10,13 @@
|
|||
.ant-motion-collapse-legacy {
|
||||
overflow: hidden;
|
||||
&-active {
|
||||
transition: height 0.15s @ease-in-out, opacity 0.15s @ease-in-out !important;
|
||||
transition: height @animation-duration-base @ease-in-out,
|
||||
opacity @animation-duration-base @ease-in-out !important;
|
||||
}
|
||||
}
|
||||
|
||||
.ant-motion-collapse {
|
||||
overflow: hidden;
|
||||
transition: height 0.15s @ease-in-out, opacity 0.15s @ease-in-out !important;
|
||||
transition: height @animation-duration-base @ease-in-out,
|
||||
opacity @animation-duration-base @ease-in-out !important;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue