From 3fdf822d4610493ee307db1ddee01a3537864ce9 Mon Sep 17 00:00:00 2001 From: David Baker Date: Mon, 8 Apr 2019 13:37:29 +0100 Subject: [PATCH] Fix fixed width dialogs Move the max-width to the fixedWidth div rather than the dialog, otherwise the fixedWidth keeps getting bigger with bigger windows but the dialog doesn't so it scrolls. --- res/css/_common.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/css/_common.scss b/res/css/_common.scss index 8abd1c6ea7..4a9c2945f5 100644 --- a/res/css/_common.scss +++ b/res/css/_common.scss @@ -268,7 +268,6 @@ textarea { font-size: 15px; position: relative; padding: 25px 30px 30px 30px; - max-width: 704px; max-height: 80%; box-shadow: 2px 15px 30px 0 $dialog-shadow-color; border-radius: 4px; @@ -277,6 +276,7 @@ textarea { .mx_Dialog_fixedWidth { width: 60vw; + max-width: 704px; } .mx_Dialog_staticWrapper .mx_Dialog {