mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +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.disabled = false;
|
||||||
this._handleClick = this._handleClick.bind(this);
|
this._handleClick = this._handleClick.bind(this);
|
||||||
|
|
||||||
|
// make all sizable widgets large by default on mobile template
|
||||||
|
if (egwIsMobile())
|
||||||
|
{
|
||||||
|
this.size = "large";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
connectedCallback()
|
connectedCallback()
|
||||||
|
@ -3332,8 +3332,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);
|
||||||
|
Loading…
Reference in New Issue
Block a user