From 1e158591d121465c2691bc61da134b415325b3ed Mon Sep 17 00:00:00 2001 From: yaojn Date: Fri, 1 Dec 2023 11:19:18 +0800 Subject: [PATCH] =?UTF-8?q?-=20[=E4=BF=AE=E5=A4=8D]Tree=E5=9B=BE=E6=A0=87?= =?UTF-8?q?=E7=BB=9F=E4=B8=80=20=20=20-=20[=E5=85=B3=E8=81=94]#[1028802367?= =?UTF-8?q?422464]Tree=E5=9B=BE=E6=A0=87=E7=BB=9F=E4=B8=80=20http://192.16?= =?UTF-8?q?8.0.96:8090/demo/rdm.html#/bug-detail/939050947543040/939050947?= =?UTF-8?q?543057/1028802367422464?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/resources/assets/css/common.less | 5 +++- .../plugins/TsZtree/css/zTreeStyle.css | 25 ++++++------------- 2 files changed, 12 insertions(+), 18 deletions(-) diff --git a/src/resources/assets/css/common.less b/src/resources/assets/css/common.less index 4fd5662bf..72daecc2a 100644 --- a/src/resources/assets/css/common.less +++ b/src/resources/assets/css/common.less @@ -1179,10 +1179,13 @@ span { .menu-tree.ivu-tree { .ivu-tree-children > li { font-size: 13px; - line-height: 25px; + line-height: 27px; margin: 5px 0; } .ivu-tree-arrow { + width: 18px; + height: 26px; + line-height: 27px; transform: translateY(-2px); } .ivu-tree-title { diff --git a/src/resources/plugins/TsZtree/css/zTreeStyle.css b/src/resources/plugins/TsZtree/css/zTreeStyle.css index 186deaa51..5b6e9347e 100755 --- a/src/resources/plugins/TsZtree/css/zTreeStyle.css +++ b/src/resources/plugins/TsZtree/css/zTreeStyle.css @@ -57,8 +57,8 @@ .ztree li span.button.switch { width: 18px; - height: 22px; - line-height: 22px; + height: 26px; + line-height: 25px; } .ztree li span.button.ico_open, @@ -80,14 +80,16 @@ } .ztree li a { + display: inline-block; + width: calc(100% - 30px); + height: 26px; + line-height: 26px; padding: 0 3px 0 0; margin: 0; cursor: pointer; - height: 21px; background-color: transparent; text-decoration: none; - vertical-align: top; - display: inline; + vertical-align: middle; } .ztree li a:hover { @@ -238,11 +240,6 @@ ul.ztree.zTreeDragUL>li a { border-top: none; } -.ztree li a { - height: 26px; - line-height: 26px; -} - .ztree li a i { line-height: 1; } @@ -425,7 +422,7 @@ ul.ztree.zTreeDragUL>li a { .ztree li span.button.adduser:before { content: "\e80a"; - /* tsfont-adduser 类名 */ + /* tsfont-adduser 类名 */ } .ztree li span.button.firstPage:before { @@ -473,12 +470,6 @@ ul.ztree.zTreeDragUL>li a { height: 26px; } -.ztree li a { - /*font-size: 95%;*/ - width: calc(100% - 30px); - display: inline-block; -} - .ztree li a>* { height: 26px; line-height: 26px; -- Gitee