Browse Source

修改隐藏Tab样式

zhangxc 5 năm trước cách đây
mục cha
commit
1ce348da94
2 tập tin đã thay đổi với 9 bổ sung6 xóa
  1. 4 3
      src/css/knowledgeMap.less
  2. 5 3
      src/css/knowledgeTree.less

+ 4 - 3
src/css/knowledgeMap.less

@@ -245,13 +245,14 @@
                 margin-right: 3px;
             }
             .hideTabList{
-                position: absolute;
+                position: relative;
                 background: #fff;
                 width: 100%;
                 z-index: 2;
                 display: none;
-                top: 41px;
-                left: -1px;
+                top: -2px;
+                left: -11px;
+                padding: 0 10px;
                 border: 1px solid #5A8EEE;
                 border-top: 0;
                 box-shadow:0px 7px 6px -2px rgba(20,39,75,0.2);

+ 5 - 3
src/css/knowledgeTree.less

@@ -245,15 +245,17 @@
                 margin-right: 3px;
             }
             .hideTabList{
-                position: absolute;
+                position: relative;
                 background: #fff;
                 width: 100%;
                 z-index: 2;
                 display: none;
-                top: 41px;
-                left: -1px;
+                top: -2px;
+                left: -11px;
+                padding: 0 10px;
                 border: 1px solid #5A8EEE;
                 border-top: 0;
+                box-shadow:0px 7px 6px -2px rgba(20,39,75,0.2);
             }
             .radioList{
                 height: 60px;