We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f294350 commit d0cb1e8Copy full SHA for d0cb1e8
src/components/sidebar-menu/sidebar-menu.less
@@ -45,6 +45,11 @@
45
}
46
47
48
+ .ant-menu-root {
49
+ height: ~'calc(100vh - @{nav-header-height})';
50
+ overflow-y: auto;
51
+ }
52
+
53
&.is-collapsed {
54
// 请根据项目logo自行调整
55
.lotus-sidebar-menu__logo > img {
src/global.less
@@ -50,10 +50,9 @@ ol {
// 美化滚动条
::-webkit-scrollbar {
width: 5px;
- height: 5px
56
::-webkit-scrollbar-thumb {
57
- background: #ccc;
+ background: transparent;
58
border-radius: 4px;
59
0 commit comments