fix query field width

This commit is contained in:
Bruno Windels 2018-12-10 17:45:30 +01:00
parent cc97b46908
commit 397e44b7ba
2 changed files with 6 additions and 10 deletions

View file

@ -158,11 +158,9 @@ export default React.createClass({
} }
const inputBox = ( const inputBox = (
<form autoComplete="off"> <input className="mx_GroupMemberList_query mx_textinput" id="mx_GroupMemberList_query" type="text"
<input className="mx_GroupMemberList_query" id="mx_GroupMemberList_query" type="text" onChange={this.onSearchQueryChanged} value={this.state.searchQuery}
onChange={this.onSearchQueryChanged} value={this.state.searchQuery} placeholder={_t('Filter community members')} />
placeholder={_t('Filter community members')} />
</form>
); );
const joined = this.state.members ? <div className="mx_MemberList_joined"> const joined = this.state.members ? <div className="mx_MemberList_joined">

View file

@ -139,11 +139,9 @@ export default React.createClass({
</AccessibleButton>); </AccessibleButton>);
} }
const inputBox = ( const inputBox = (
<form autoComplete="off"> <input className="mx_GroupRoomList_query mx_textinput" id="mx_GroupRoomList_query" type="text"
<input className="mx_GroupRoomList_query" id="mx_GroupRoomList_query" type="text" onChange={this.onSearchQueryChanged} value={this.state.searchQuery}
onChange={this.onSearchQueryChanged} value={this.state.searchQuery} placeholder={_t('Filter community rooms')} />
placeholder={_t('Filter community rooms')} />
</form>
); );
const GeminiScrollbarWrapper = sdk.getComponent("elements.GeminiScrollbarWrapper"); const GeminiScrollbarWrapper = sdk.getComponent("elements.GeminiScrollbarWrapper");