mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +01:00
WIP Mobile template: Make all widgets large on mobile template
This commit is contained in:
parent
9bc90488f7
commit
d3d0216a39
@ -217,6 +217,12 @@ const Et2WidgetMixin = <T extends Constructor>(superClass : T) =>
|
||||
|
||||
this.disabled = false;
|
||||
this._handleClick = this._handleClick.bind(this);
|
||||
|
||||
// make all sizable widgets large by default on mobile template
|
||||
if (egwIsMobile())
|
||||
{
|
||||
this.size = "large";
|
||||
}
|
||||
}
|
||||
|
||||
connectedCallback()
|
||||
|
@ -3332,8 +3332,7 @@ export class et2_nextmatch_header_bar extends et2_DOMWidget implements et2_INext
|
||||
},
|
||||
value: settings.search || '',
|
||||
fix: !egwIsMobile(),
|
||||
placeholder: egw.lang("Search"),
|
||||
size: egwIsMobile()?"large":''
|
||||
placeholder: egw.lang("Search")
|
||||
};
|
||||
// searchbox widget
|
||||
this.et2_searchbox = <Et2Searchbox>loadWebComponent('et2-searchbox', searchbox_options, this);
|
||||
|
Loading…
Reference in New Issue
Block a user