From ebbd788fbb2c0b45d4473798efc57eec8ba74a25 Mon Sep 17 00:00:00 2001
From: Ben Lin <maobin001@msn.com>
Date: 星期二, 18 六月 2024 14:51:16 +0800
Subject: [PATCH] 版本更新至2.11.5

---
 src/components/Tree/style/index.less |   20 ++++++++++++++------
 1 files changed, 14 insertions(+), 6 deletions(-)

diff --git a/src/components/Tree/style/index.less b/src/components/Tree/style/index.less
index 472d4ca..bd6f7bd 100644
--- a/src/components/Tree/style/index.less
+++ b/src/components/Tree/style/index.less
@@ -3,13 +3,21 @@
 .@{tree-prefix-cls} {
   background-color: @component-background;
 
+  .ant-tree {
+    .ant-tree-checkbox {
+      margin-block-start: 0;
+      margin-inline: 4px 4px;
+
+      & + span {
+        padding-left: 4px;
+      }
+    }
+  }
+
   .ant-tree-node-content-wrapper {
     position: relative;
 
     .ant-tree-title {
-      position: absolute;
-      left: 0;
-      width: 100%;
       overflow: hidden;
       text-overflow: ellipsis;
       white-space: nowrap;
@@ -17,8 +25,8 @@
   }
 
   &__title {
-    position: relative;
     display: flex;
+    position: relative;
     align-items: center;
     width: 100%;
     padding-right: 10px;
@@ -35,15 +43,15 @@
   }
 
   &__actions {
+    display: flex;
     position: absolute;
     //top: 2px;
     right: 3px;
-    display: flex;
   }
 
   &__action {
-    margin-left: 4px;
     visibility: hidden;
+    margin-left: 4px;
   }
 
   &-header {

--
Gitblit v1.9.3