From 538272a827478f66449b26ca5e5fb670138d7dcd Mon Sep 17 00:00:00 2001 From: Jason Robinson Date: Wed, 10 Feb 2021 15:13:01 +0200 Subject: [PATCH] Tweak the dialog dimensions Make height/width max (as per design wish) and actual based on viewport. --- res/css/views/dialogs/_HostSignupDialog.scss | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/res/css/views/dialogs/_HostSignupDialog.scss b/res/css/views/dialogs/_HostSignupDialog.scss index 674e872763..1378ac9053 100644 --- a/res/css/views/dialogs/_HostSignupDialog.scss +++ b/res/css/views/dialogs/_HostSignupDialog.scss @@ -15,9 +15,10 @@ limitations under the License. */ .mx_HostSignupDialog { - min-height: 531px; + width: 90vw; + max-width: 580px; + height: 80vh; max-height: 600px; - width: 580px; .mx_HostSignupDialog_info { text-align: center; @@ -100,8 +101,10 @@ limitations under the License. } .mx_HostSignup_persisted { - width: 580px; - height: 600px; + width: 90vw; + max-width: 580px; + height: 80vh; + max-height: 600px; top: 0; left: 0; position: fixed;