From 383bc50f1a59afb2ce220948c3fa4f8d17f3f7fb Mon Sep 17 00:00:00 2001 From: Michael Weimann Date: Thu, 30 Jun 2022 11:56:52 +0200 Subject: [PATCH] Make invite dialogue fixed height (#8945) --- 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 6fd3d0510f..2b0475bc36 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; }