From 0c364510efa49b41b81ee9e20c1f7bcc6fc813c1 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Tue, 8 Jan 2019 18:16:37 +0100 Subject: [PATCH] trying to make the left panel not grow taller than available space --- res/css/structures/_RoomSubList.scss | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) 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;