修复导航栏single模式下展示bug

This commit is contained in:
hooray 2022-01-21 10:09:37 +08:00
parent a9573ea957
commit d55d452744

View File

@ -114,7 +114,7 @@ function switchMenu(index) {
}
&[data-menu-mode="single"] {
.sidebar-container {
transform: translateX(calc(var(--g-main-sidebar-width) * -1));
transform: translateX(calc(var(--g-sub-sidebar-width) * -1));
&.show {
transform: translateX(0);
}