Skip to content

Commit

Permalink
fix(ui5-li-tree): fixed incorrect display of the text (#3036)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
plamenivanov91 authored and ilhan007 committed Mar 30, 2021
1 parent 56e571c commit b74eee9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/main/src/themes/TreeListItem.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@
bottom: 0.125rem;
}

:host([_minimal]) .ui5-li-tree-text-wrapper {
display: none;
}

.ui5-li-root-tree {
padding-left: 0;
}
Expand Down

0 comments on commit b74eee9

Please sign in to comment.