diff --git a/src/resources/assets/css/common.less b/src/resources/assets/css/common.less index 4fd5662bfcf77847f9c5b780b3af3f5fbca53c7d..72daecc2aa9ef60789af879d1e7e57b4e9e3484b 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 186deaa51bd9216281e035fd6ef574339d78040d..5b6e9347e16f34a94b8326c2b6a0e578ac313d25 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;