Merge branch 'main' into gitee

This commit is contained in:
xiaoxian521
2024-03-01 12:09:15 +08:00
5 changed files with 116 additions and 57 deletions

View File

@@ -14,6 +14,11 @@
}
}
/* 修复 windows 下双滚动条问题 https://github.com/pure-admin/vue-pure-admin/pull/936#issuecomment-1968125992 */
.el-popper.pure-scrollbar {
overflow: hidden;
}
/* popper menu 超出内容区可滚动 */
.pure-scrollbar {
max-height: calc(100vh - calc(50px * 2.5));
@@ -130,11 +135,9 @@
}
a {
display: inline-block;
display: flex;
flex-wrap: wrap;
width: 100%;
padding-left: 10px;
}
.el-menu {
@@ -332,9 +335,18 @@
margin-top: 0;
}
/* 无子菜单时激活 border-bottom */
a > .is-active.submenu-title-noDropdown {
border-bottom: 2px solid var(--el-menu-active-color);
}
.el-menu--popup {
background-color: $subMenuBg !important;
a > .is-active.submenu-title-noDropdown {
border-bottom: none;
}
.el-menu-item {
color: $menuText;
background-color: $subMenuBg;
@@ -349,12 +361,6 @@
}
}
/* 无子菜单时激活 border-bottom */
.router-link-exact-active > .submenu-title-noDropdown {
height: 60px;
border-bottom: 2px solid var(--el-menu-active-color);
}
/* 子菜单中还有子菜单 */
.el-menu .el-sub-menu__title {
min-width: $sideBarWidth !important;