WIP Mobile view: get the nm search boxes the right size

This commit is contained in:
Hadi Nategh 2022-08-22 13:33:55 +02:00
parent bcf9d6b937
commit 54cd616b2c
2 changed files with 2 additions and 1 deletions

View File

@ -3333,6 +3333,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":''
};
// searchbox widget
this.et2_searchbox = <Et2Searchbox>loadWebComponent('et2-searchbox', searchbox_options, this);

View File

@ -15,7 +15,7 @@ Egroupware
<template id="calendar.toolbar">
<hbox class="et2_nextmatch" >
<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"/>
</box>
</hbox>