diff --git a/res/css/structures/_RoomSubList.scss b/res/css/structures/_RoomSubList.scss index 2c44954a53..0d82a7e3da 100644 --- a/res/css/structures/_RoomSubList.scss +++ b/res/css/structures/_RoomSubList.scss @@ -33,11 +33,15 @@ limitations under the License. .mx_RoomSubList { min-height: 31px; - flex: 0 1 auto; + flex: 0 10000 auto; display: flex; flex-direction: column; } +.mx_RoomSubList.resized-sized { + flex: 1 1 auto; +} + .mx_RoomSubList_nonEmpty { min-height: 74px; @@ -50,17 +54,6 @@ limitations under the License. flex: none !important; } -// .mx_RoomSubList.resized-all { -// flex: 0 1 auto; -// } - -.mx_RoomSubList.resized-sized { - /* resizer set max-height on resized-sized, - so that limits the height and hence - needs a very small flex-shrink */ - flex: 1 0 auto; -} - .mx_RoomSubList_labelContainer { display: flex; flex-direction: row;