Merge pull request #5411 from aaronraimist/searchbox-fix-width

Allow SearchBox to expand to fill width
pull/21833/head
J. Ryan Stinnett 2020-12-09 20:14:02 +00:00 committed by GitHub
commit 083fecbddb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 9 deletions

View File

@ -170,7 +170,6 @@ input[type=text]:focus, input[type=password]:focus, textarea:focus {
border: 1px solid rgba($primary-fg-color, .1); border: 1px solid rgba($primary-fg-color, .1);
// these things should probably not be defined globally // these things should probably not be defined globally
margin: 9px; margin: 9px;
flex: 0 0 auto;
} }
.mx_textinput { .mx_textinput {

View File

@ -46,6 +46,11 @@ limitations under the License.
} }
} }
.mx_GroupMemberList_query,
.mx_GroupRoomList_query {
flex: 0 0 auto;
}
.mx_MemberList_chevron { .mx_MemberList_chevron {
position: absolute; position: absolute;
right: 35px; right: 35px;
@ -59,10 +64,8 @@ limitations under the License.
flex: 1 1 0px; flex: 1 1 0px;
} }
.mx_MemberList_query, .mx_MemberList_query {
.mx_GroupMemberList_query, height: 16px;
.mx_GroupRoomList_query {
flex: 1 1 0;
// stricter rule to override the one in _common.scss // stricter rule to override the one in _common.scss
&[type="text"] { &[type="text"] {
@ -70,10 +73,6 @@ limitations under the License.
} }
} }
.mx_MemberList_query {
height: 16px;
}
.mx_MemberList_wrapper { .mx_MemberList_wrapper {
padding: 10px; padding: 10px;
} }