Skip to content

Commit 32c877a

Browse files
authored
feat: the text of the optimized tree item is too long (#773)
1 parent 4d9edb3 commit 32c877a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/components/tree/style.scss

+3
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ $treenode-height: 22px;
2828

2929
&__title {
3030
margin-left: 5px;
31+
overflow: hidden;
32+
text-overflow: ellipsis;
33+
white-space: nowrap;
3134
width: 100%;
3235
}
3336

0 commit comments

Comments
 (0)