From c08374a5ebb6a64f8efab9d89c2d45bae57630b0 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 27 四月 2022 16:08:33 +0800 Subject: [PATCH] 2022-04-27 --- src/tabviews/custom/components/tree/antd-tree/index.scss | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/tabviews/custom/components/tree/antd-tree/index.scss b/src/tabviews/custom/components/tree/antd-tree/index.scss index 5c43bad..859f346 100644 --- a/src/tabviews/custom/components/tree/antd-tree/index.scss +++ b/src/tabviews/custom/components/tree/antd-tree/index.scss @@ -4,7 +4,7 @@ background-position: center center; background-repeat: no-repeat; background-size: cover; - min-height: 180px; + min-height: 50px; .tree-header { position: relative; @@ -41,7 +41,7 @@ } } .tree-box { - overflow-x: auto; + overflow: auto; padding-bottom: 10px; .ant-tree-node-content-wrapper-close > span > span > .anticon-folder-open { @@ -51,8 +51,9 @@ display: none; } } + .tree-box::-webkit-scrollbar { - height: 10px; + width: 7px; } .tree-box::-webkit-scrollbar-thumb { border-radius: 5px; @@ -61,7 +62,7 @@ } .tree-box::-webkit-scrollbar-track {/*婊氬姩鏉¢噷闈㈣建閬�*/ box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); - border-radius: 3px; + border-radius: 5px; border: 1px solid rgba(0, 0, 0, 0.07); background: rgba(0, 0, 0, 0); } @@ -74,6 +75,9 @@ height: 60px; } } + .tree-header + .ant-empty { + margin-top: 35px; + } .loading-mask { position: absolute; left: 0px; -- Gitblit v1.8.0