fix: 顶部模式样式优化

Former-commit-id: 7558d62832766d00200e8e11573c1f001cfeb570
This commit is contained in:
april
2023-08-23 15:42:29 +08:00
parent cc495d73c3
commit 9d920e093f
2 changed files with 7 additions and 25 deletions

View File

@@ -153,37 +153,13 @@
transition: transform 0.28s;
}
&.hideSidebar:not(.isMix) {
&.hideSidebar:not(.isMix, .isTop) {
.sidebar-container {
pointer-events: none;
transition-duration: 0.3s;
transform: translate3d(-$sideBarWidth, 0, 0);
}
}
&.hideSidebar {
.isMix {
:deep(.sidebar-container) {
.header {
.logo-wrap {
width: 64px;
}
}
}
}
}
&.openSidebar {
.isMix {
:deep(.sidebar-container) {
.header {
.logo-wrap {
width: 210px;
}
}
}
}
}
}
.withoutAnimation {