From 35a4e981e38dcd5b8a699750e19728e2e39b5f3e Mon Sep 17 00:00:00 2001 From: Michael Weimann Date: Thu, 30 Jun 2022 10:13:37 +0200 Subject: [PATCH] Make invite dialogue fixed height (#8934) --- res/css/views/dialogs/_InviteDialog.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/res/css/views/dialogs/_InviteDialog.scss b/res/css/views/dialogs/_InviteDialog.scss index ee7f47f8fd..4dbe9d344e 100644 --- a/res/css/views/dialogs/_InviteDialog.scss +++ b/res/css/views/dialogs/_InviteDialog.scss @@ -189,7 +189,7 @@ limitations under the License. // Prevent the dialog from jumping around randomly when elements change. display: flex; flex-direction: column; - max-height: 600px; + height: 600px; overflow: hidden; .mx_InviteDialog_addressBar { @@ -197,6 +197,7 @@ limitations under the License. } .mx_InviteDialog_userSections { + flex-grow: 1; padding-inline-end: 0; .mx_InviteDialog_section { @@ -209,7 +210,7 @@ limitations under the License. .mx_InviteDialog_content { display: flex; flex-direction: column; - flex-shrink: 1; + flex-grow: 1; overflow: hidden; }