perf: optimized page switching effect

This commit is contained in:
nebv
2020-10-11 01:13:27 +08:00
parent 03b6025d07
commit 5f2a927cd5
12 changed files with 47 additions and 40 deletions

View File

@@ -1,5 +1,10 @@
@import (reference) '../../design/index.less';
.ant-menu-submenu .ant-menu-sub {
transition: background 0.1s cubic-bezier(0.645, 0.045, 0.355, 1) 0s,
padding 0.1s cubic-bezier(0.645, 0.045, 0.355, 1) 0s !important;
}
.default-layout {
&__content {
position: relative;