Remove globally defined flex and set just for group queries

Signed-off-by: Aaron Raimist <aaron@raim.ist>
pull/21833/head
Aaron Raimist 2020-12-05 21:56:10 -06:00
parent 3ec9d93cb0
commit 32f7e3552c
No known key found for this signature in database
GPG Key ID: 37419210002890EF
3 changed files with 7 additions and 7 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);
// these things should probably not be defined globally
margin: 9px;
flex: 0 0 auto;
}
.mx_textinput {

View File

@ -15,7 +15,7 @@ limitations under the License.
*/
.mx_SearchBox {
flex: 1 1 0 !important;
flex: 1 1 0;
min-width: 0;
&.mx_SearchBox_blurred:not(:hover) {

View File

@ -59,17 +59,18 @@ limitations under the License.
flex: 1 1 0px;
}
.mx_MemberList_query,
.mx_GroupMemberList_query,
.mx_GroupRoomList_query {
flex: 1 1 0;
.mx_MemberList_query {
// stricter rule to override the one in _common.scss
&[type="text"] {
font-size: $font-12px;
}
}
.mx_GroupMemberList_query,
.mx_GroupRoomList_query {
flex: 0 0 auto;
}
.mx_MemberList_query {
height: 16px;
}