Ben Lin
2024-06-18 ebbd788fbb2c0b45d4473798efc57eec8ba74a25
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 {