From 53b9fb93d0376eb02bb996935f1720b4e95cd897 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 12 十月 2022 14:41:06 +0800 Subject: [PATCH] 2022-10-12 --- src/tabviews/custom/components/tree/antd-tree/index.scss | 24 ++++++++++++++++++------ 1 files changed, 18 insertions(+), 6 deletions(-) diff --git a/src/tabviews/custom/components/tree/antd-tree/index.scss b/src/tabviews/custom/components/tree/antd-tree/index.scss index 413cf1c..0ab6c56 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: 100px; + min-height: 50px; .tree-header { position: relative; @@ -24,9 +24,13 @@ position: relative; z-index: 1; } + .title.search-unable { + display: block; + float: none; + } .ant-input-search.ant-input-affix-wrapper { - width: calc(100% - 140px); - max-width: 130px; + width: 50%; + max-width: 150px; margin-top: 6px; float: right; height: 30px; @@ -41,7 +45,7 @@ } } .tree-box { - overflow-x: auto; + overflow: auto; padding-bottom: 10px; .ant-tree-node-content-wrapper-close > span > span > .anticon-folder-open { @@ -51,8 +55,9 @@ display: none; } } + .tree-box::-webkit-scrollbar { - height: 10px; + width: 7px; } .tree-box::-webkit-scrollbar-thumb { border-radius: 5px; @@ -61,7 +66,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,12 +79,19 @@ height: 60px; } } + .tree-header + .ant-empty { + margin-top: 35px; + } .loading-mask { position: absolute; left: 0px; top: 0; right: 0px; bottom: 0px; + display: flex; + align-items: center; + justify-content: center; + text-align: justify; z-index: 1; .ant-spin-blur { -- Gitblit v1.8.0