Skip to content

Commit 684ccbf

Browse files
authoredApr 2, 2021
fix(ui5-li-tree): fixed incorrect display of the text (#3086)
While the TreeListItem is in its _minimal state (with no visible text), the text was still taking space, causing incorrect alignment of the icons. Now the text is not rendered when we are in _minimal state which results in proper alignment of the icons.
1 parent de47520 commit 684ccbf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎packages/main/src/themes/TreeListItem.css

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
}
88

99
:host([_minimal]) .ui5-li-tree-toggle-box {
10-
width: 0;
10+
width: 0;
11+
min-width: 0;
1112
}
1213

1314
:host([_minimal]) .ui5-li-icon {

0 commit comments

Comments
 (0)
Please sign in to comment.