Skip to content

Commit fcbdc7a

Browse files
committed
feat: the text of the optimized tree item is too long
1 parent 6a8e109 commit fcbdc7a

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
@@ -29,6 +29,9 @@ $treenode-height: 22px;
2929
&__title {
3030
margin-left: 5px;
3131
width: 100%;
32+
overflow: hidden;
33+
text-overflow: ellipsis;
34+
white-space: nowrap;
3235
}
3336

3437
&--active,

0 commit comments

Comments
 (0)