forked from extern/egroupware
WIP Mobile view: get the nm search boxes the right size
This commit is contained in:
parent
bcf9d6b937
commit
54cd616b2c
@ -3333,6 +3333,7 @@ export class et2_nextmatch_header_bar extends et2_DOMWidget implements et2_INext
|
|||||||
value: settings.search || '',
|
value: settings.search || '',
|
||||||
fix: !egwIsMobile(),
|
fix: !egwIsMobile(),
|
||||||
placeholder: egw.lang("Search"),
|
placeholder: egw.lang("Search"),
|
||||||
|
size: egwIsMobile()?"large":''
|
||||||
};
|
};
|
||||||
// searchbox widget
|
// searchbox widget
|
||||||
this.et2_searchbox = <Et2Searchbox>loadWebComponent('et2-searchbox', searchbox_options, this);
|
this.et2_searchbox = <Et2Searchbox>loadWebComponent('et2-searchbox', searchbox_options, this);
|
||||||
|
@ -15,7 +15,7 @@ Egroupware
|
|||||||
<template id="calendar.toolbar">
|
<template id="calendar.toolbar">
|
||||||
<hbox class="et2_nextmatch" >
|
<hbox class="et2_nextmatch" >
|
||||||
<box class="search nm-mob-header" width="100%">
|
<box class="search nm-mob-header" width="100%">
|
||||||
<searchbox id="keywords" blur="Search" overlay="false" fix="false" onchange="app.calendar.update_state({view: 'listview',search: widget.getValue()});return false;"/>
|
<searchbox id="keywords" blur="Search" overlay="false" size="large" fix="false" onchange="app.calendar.update_state({view: 'listview',search: widget.getValue()});return false;"/>
|
||||||
<toolbar id="toolbar" flat_list="false"/>
|
<toolbar id="toolbar" flat_list="false"/>
|
||||||
</box>
|
</box>
|
||||||
</hbox>
|
</hbox>
|
||||||
|
Loading…
Reference in New Issue
Block a user