瀏覽代碼

bugfix: 8741

reaper 3 年之前
父節點
當前提交
bf056726da
共有 2 個文件被更改,包括 29 次插入0 次删除
  1. 29 0
      src/css/cdssHorizontal.less
  2. 二進制
      src/images/new2.png

+ 29 - 0
src/css/cdssHorizontal.less

@@ -321,6 +321,7 @@
   bottom: 0;
 }
 .longStrBox {
+  max-height: 180px;
   position: absolute;
   width: 100%;
   left: 0;
@@ -332,6 +333,34 @@
   padding: 0 0 0 80px;
   display: none;
   z-index: 1;
+  overflow: auto;
+  &::-webkit-scrollbar {
+    width: 10px;
+    height: 10px;
+    background-color: #fff;
+  }
+  /*滚动条的轨道*/
+  &::-webkit-scrollbar-track {
+    background-color: #fff;
+  }
+  /*滚动条的轨道*/
+  &::-webkit-scrollbar-track {
+    background-color: none;
+  }
+  /*滚动条的滑块按钮*/
+  &::-webkit-scrollbar-thumb {
+    width: 8px;
+    height: 63px;
+    background: #4f9ff3;
+    border-radius: 14px;
+    // box-shadow: inset 0 0 5px #f00;
+  }
+  /*滚动条的上下两端的按钮*/
+  // .right_content::-webkit-scrollbar-button,
+  // ul::-webkit-scrollbar-button {
+  //   height: 0;
+  //   background-color: #fff;
+  // }
 }
 .longStrBoxTitle {
   position: absolute;

二進制
src/images/new2.png