Forráskód Böngészése

style: 菜单滚动

From-WH 2 éve
szülő
commit
6f39820b25

+ 4 - 0
template/admin/src/components/main/components/side-menu/side-menu.less

@@ -7,10 +7,14 @@
 .side-menu-wrapper {
 .side-menu-wrapper {
   user-select: none;
   user-select: none;
   height: 100%;
   height: 100%;
+  ::-webkit-scrollbar{width:0;}
+  -ms-overflow-style: none;
   .menu-collapsed {
   .menu-collapsed {
     height: 100%;
     height: 100%;
     background-color: @side-dark-theme;
     background-color: @side-dark-theme;
     color: #fff !important;
     color: #fff !important;
+    overflow-y: scroll;
+    
     .ivu-dropdown {
     .ivu-dropdown {
       width: 100%;
       width: 100%;
       .ivu-dropdown-rel a {
       .ivu-dropdown-rel a {