Skip to content

Commit

Permalink
feat: the text of the optimized tree item is too long (#773)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaoei authored Jul 8, 2022
1 parent 4d9edb3 commit 32c877a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/tree/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ $treenode-height: 22px;

&__title {
margin-left: 5px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
width: 100%;
}

Expand Down

0 comments on commit 32c877a

Please sign in to comment.