perf: 优化导航,弹出的菜单超出内容区自适应且可滚动 (#858)

This commit is contained in:
xiaoming
2024-01-10 21:01:37 +08:00
committed by GitHub
parent aa8ba9a3e5
commit 68cd2c925a
9 changed files with 122 additions and 31 deletions

View File

@@ -14,6 +14,12 @@
}
}
/* popper menu 超出内容区可滚动 */
.pure-scrollbar {
max-height: calc(100vh - calc(50px * 2.5));
overflow: hidden auto;
}
.sub-menu-icon {
margin-right: 5px;
font-size: 18px;