diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/MemberList.css b/src/skins/vector/css/matrix-react-sdk/views/rooms/MemberList.css index de05d3e8c4b..5844d5f1d72 100644 --- a/src/skins/vector/css/matrix-react-sdk/views/rooms/MemberList.css +++ b/src/skins/vector/css/matrix-react-sdk/views/rooms/MemberList.css @@ -46,8 +46,8 @@ limitations under the License. .mx_MemberList .mx_SearchableEntityList { order: 1; - flex: 0; - -webkit-flex: 0; + flex: 0 0 auto; + -webkit-flex: 0 0 auto; } .mx_MemberList .mx_SearchableEntityList_expanded { diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/SearchableEntityList.css b/src/skins/vector/css/matrix-react-sdk/views/rooms/SearchableEntityList.css index 3cdc291cc8c..3e88508cd04 100644 --- a/src/skins/vector/css/matrix-react-sdk/views/rooms/SearchableEntityList.css +++ b/src/skins/vector/css/matrix-react-sdk/views/rooms/SearchableEntityList.css @@ -63,8 +63,8 @@ limitations under the License. .mx_SearchableEntityList_hrWrapper { width: 100%; - flex: 0; - -webkit-flex: 0; + flex: 0 0 auto; + -webkit-flex: 0 0 auto; } .mx_SearchableEntityList hr {