From 13d0e26ec4f6d00d23c965ba17374b6f7233517c Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 29 Apr 2020 17:28:45 +0100 Subject: [PATCH 1/2] Reduce maximum width of toasts & allow multiple lines --- res/css/structures/_ToastContainer.scss | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/res/css/structures/_ToastContainer.scss b/res/css/structures/_ToastContainer.scss index af595aaeee..64496b2cc0 100644 --- a/res/css/structures/_ToastContainer.scss +++ b/res/css/structures/_ToastContainer.scss @@ -91,10 +91,7 @@ limitations under the License. } .mx_Toast_description { - max-width: 400px; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; + max-width: 272px; margin: 4px 0 11px 0; font-size: $font-12px; } From 34d6eb591fbe2eeca527a46a23d067a13ec696f7 Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 29 Apr 2020 17:38:32 +0100 Subject: [PATCH 2/2] Put overflows back --- res/css/structures/_ToastContainer.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/res/css/structures/_ToastContainer.scss b/res/css/structures/_ToastContainer.scss index 64496b2cc0..6ec4a0d152 100644 --- a/res/css/structures/_ToastContainer.scss +++ b/res/css/structures/_ToastContainer.scss @@ -92,6 +92,8 @@ limitations under the License. .mx_Toast_description { max-width: 272px; + overflow: hidden; + text-overflow: ellipsis; margin: 4px 0 11px 0; font-size: $font-12px; }