Skip to content

Commit b71a597

Browse files
plamenivanov91ilhan007
authored andcommitted
fix(ui5-li-tree): fixed incorrect display of the text (#3036)
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 c005c88 commit b71a597

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/main/src/themes/TreeListItem.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@
3333
bottom: 0.125rem;
3434
}
3535

36+
:host([_minimal]) .ui5-li-tree-text-wrapper {
37+
display: none;
38+
}
39+
3640
.ui5-li-root-tree {
3741
padding-left: 0;
3842
}

0 commit comments

Comments
 (0)