Skip to content

Commit 788d25d

Browse files
authored
fix(ui5-tree): alignment of items (#3424)
1 parent b458b80 commit 788d25d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/main/src/TreeListItem.hbs

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
<div part="title" class="ui5-li-title"><slot></slot></div>
2424
{{/if}}
2525

26-
{{#if info}}
27-
<span part="info" class="ui5-li-additional-text">{{info}}</span>
26+
{{#if additionalText}}
27+
<span part="additional-text" class="ui5-li-additional-text">{{additionalText}}</span>
2828
{{/if}}
2929
</div>
3030
{{/inline}}

packages/main/src/themes/TreeListItem.css

+1
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@
7676
display: flex;
7777
align-items: center;
7878
justify-content: center;
79+
flex-shrink: 0;
7980
}
8081

8182
.ui5-li-tree-toggle-icon {

0 commit comments

Comments
 (0)