From b4197059a0103ea34d1f091ceaa82ce3a31bb71e Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Tue, 8 Jan 2019 18:16:09 +0100 Subject: [PATCH] change min size to exactly one room tile + header --- res/css/structures/_RoomSubList.scss | 2 +- src/resizer/room.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/res/css/structures/_RoomSubList.scss b/res/css/structures/_RoomSubList.scss index 04587491a7..2c44954a53 100644 --- a/res/css/structures/_RoomSubList.scss +++ b/res/css/structures/_RoomSubList.scss @@ -39,7 +39,7 @@ limitations under the License. } .mx_RoomSubList_nonEmpty { - min-height: 70px; + min-height: 74px; .mx_AutoHideScrollbar_offset { padding-bottom: 4px; diff --git a/src/resizer/room.js b/src/resizer/room.js index 5f3d8c1e6f..c93a2ec334 100644 --- a/src/resizer/room.js +++ b/src/resizer/room.js @@ -39,7 +39,7 @@ class RoomSubList extends ResizeItem { } */ -const MIN_SIZE = 70; +const MIN_SIZE = 74; // would be good to have a way in here to know if the item can be resized // - collapsed items can't be resized (.mx_RoomSubList_hidden) // - items at MIN_SIZE can't be resized smaller