From d4ed0bc03818f829e4b9e6d666af66f04c4a5b5e Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 7 Feb 2019 17:08:40 +0000 Subject: [PATCH] make sure scroller doesn't overflow parent --- res/css/structures/_CustomRoomTagPanel.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/res/css/structures/_CustomRoomTagPanel.scss b/res/css/structures/_CustomRoomTagPanel.scss index f02421db2c..45961d7be1 100644 --- a/res/css/structures/_CustomRoomTagPanel.scss +++ b/res/css/structures/_CustomRoomTagPanel.scss @@ -21,7 +21,11 @@ limitations under the License. .mx_CustomRoomTagPanel { background-color: $tagpanel-bg-color; - max-height: 40%; + max-height: 40vh; +} + +.mx_CustomRoomTagPanel_scroller { + max-height: inherit; } .mx_CustomRoomTagPanel .mx_AccessibleButton {