Skip to content

Commit b06d608

Browse files
authored
fix(ui5-multi-input): correct header paddings in nMore popover (#5040)
1 parent 1b45c67 commit b06d608

File tree

1 file changed

+16
-17
lines changed

1 file changed

+16
-17
lines changed

packages/main/src/TokenizerPopover.hbs

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,32 @@
11
<ui5-responsive-popover
22
tokenizer-popover="true"
33
style={{styles.popover}}
4-
header-text={{morePopoverTitle}}
54
?content-only-on-desktop="{{hasValueState}}"
65
hide-arrow
76
placement-type="Bottom"
87
horizontal-align="Left"
98
>
10-
{{#unless hasValueState}}
11-
<div slot="header" class="ui5-responsive-popover-header" style="{{styles.popoverHeader}}">
12-
{{#if _isPhone}}
13-
<div class="row" style="{{styles.popoverHeaderTitle}}">
14-
<ui5-title level="H5" class="ui5-responsive-popover-header-text">Remove</ui5-title>
15-
<ui5-button
16-
class="ui5-responsive-popover-close-btn"
17-
icon="decline"
18-
design="Transparent"
19-
@click="{{closeMorePopover}}"
20-
>
21-
</ui5-button>
22-
</div>
23-
{{/if}}
9+
<div slot="header" class="ui5-responsive-popover-header" style="{{styles.popoverHeader}}">
10+
{{#if _isPhone}}
11+
<div class="row" style="{{styles.popoverHeaderTitle}}">
12+
<ui5-title level="H5" class="ui5-responsive-popover-header-text">{{morePopoverTitle}}</ui5-title>
13+
<ui5-button
14+
class="ui5-responsive-popover-close-btn"
15+
icon="decline"
16+
design="Transparent"
17+
@click="{{closeMorePopover}}"
18+
>
19+
</ui5-button>
20+
</div>
21+
{{/if}}
22+
{{#unless hasValueState}}
2423
<div class="{{classes.popoverValueState}}" style="{{styles.popoverValueStateMessage}}">
2524
{{#each valueStateMessageText}}
2625
{{this}}
2726
{{/each}}
2827
</div>
29-
</div>
30-
{{/unless}}
28+
{{/unless}}
29+
</div>
3130
<ui5-list
3231
class="ui5-tokenizer-list"
3332
mode="Delete"

0 commit comments

Comments
 (0)