forked from extern/egroupware
Set right size for dropdown button in mobile view
This commit is contained in:
parent
241b254105
commit
ecd3edfd7f
@ -123,9 +123,9 @@ export class Et2DropdownButton extends Et2widgetWithSelectMixin(Et2Button)
|
||||
{
|
||||
return html`
|
||||
<sl-button-group>
|
||||
<sl-button size="medium" id="main">${this.label}</sl-button>
|
||||
<sl-button size="${egwIsMobile()?"large":"medium"}" id="main">${this.label}</sl-button>
|
||||
<sl-dropdown placement="bottom-end" hoist>
|
||||
<sl-button size="medium" slot="trigger" caret></sl-button>
|
||||
<sl-button size="${egwIsMobile()?"large":"medium"}" slot="trigger" caret></sl-button>
|
||||
<sl-menu>
|
||||
</sl-menu>
|
||||
</sl-dropdown>
|
||||
|
Loading…
Reference in New Issue
Block a user