浏览代码

菜单滚动条范围修改4700

zhouna 5 年之前
父节点
当前提交
ac9e085ca5
共有 2 个文件被更改,包括 11 次插入7 次删除
  1. 5 3
      src/css/index.less
  2. 6 4
      src/css/qcScore.less

+ 5 - 3
src/css/index.less

@@ -101,7 +101,7 @@
     background: @themeColor;
     border-right: 1px @darkLightBorderColor solid;
     box-sizing: border-box;
-    overflow-y: auto;
+    overflow: hidden;
     padding-top: 5px;
     position: relative;
     padding-bottom: 50px;
@@ -123,7 +123,9 @@
     }
     &>ul{
       overflow-x: hidden;
+      overflow-y: auto;
       white-space: nowrap;
+      height: calc(100% - 90px);
       &>li{
         text-indent: 42px;
         background: url("../images/module.png") 16px 12px no-repeat;
@@ -227,8 +229,8 @@
       color: @fstColor;
     }
     .copy-right{
-      position: fixed;
-      bottom: 0px;
+      /*position: fixed;
+      bottom: 0px;*/
       width: @menuWt+(-1px);
       text-align: center;
       height: 50px;

+ 6 - 4
src/css/qcScore.less

@@ -36,8 +36,8 @@
   width: @menuWt+15px;
   height: 100%;
   float: left;
-  overflow-y: auto;
-  overflow-x: hidden;
+  /*overflow-y: auto;*/
+  overflow: hidden;
   background: @themeColor;
   border-right: 1px @frameBdColor solid;
   .logo{
@@ -53,7 +53,9 @@
   }
   &>ul{
     overflow-x: hidden;
+    overflow-y: auto;
     white-space: nowrap;
+    height:calc(100% - 140px);
   }
   &>ul>li{
     color: @fstColor;
@@ -154,8 +156,8 @@
     cursor: pointer;
   }
   .copy-right{
-    position: fixed;
-    bottom: 0px;
+    /*position: fixed;
+    bottom: 0px;*/
     width: @menuWt+15;
     text-align: center;
     background: @themeColor;