style: 左侧菜单导航样式调整,优化有无logopc端和移动端不同的展示方式

This commit is contained in:
xiaoxian521
2023-08-30 12:07:02 +08:00
parent 13979ea6c0
commit 9bb8820025
2 changed files with 13 additions and 5 deletions

View File

@@ -96,16 +96,24 @@
right: 0;
}
.el-scrollbar {
height: calc(100% - 44px);
}
&.has-logo {
.el-scrollbar.pc {
/* logo: 48px、leftCollapse: 40px、leftCollapse-shadow: 4px */
height: calc(100% - 92px);
}
/* logo: 48px */
.el-scrollbar.mobile {
height: calc(100% - 48px);
}
}
&.no-logo {
.el-scrollbar.pc {
/* leftCollapse: 40px、leftCollapse-shadow: 4px */
height: calc(100% - 44px);
}
.el-scrollbar.mobile {
height: 100%;
}