From a3ef3b34e13f8e4d4736c4daf2561d59cf1426c9 Mon Sep 17 00:00:00 2001 From: shortcutme Date: Sat, 16 Mar 2019 00:01:52 +0100 Subject: [PATCH] Support multi-line notification --- src/Ui/media/Wrapper.css | 1 + src/Ui/media/all.css | 1 + 2 files changed, 2 insertions(+) diff --git a/src/Ui/media/Wrapper.css b/src/Ui/media/Wrapper.css index 22df41e2..75caf164 100644 --- a/src/Ui/media/Wrapper.css +++ b/src/Ui/media/Wrapper.css @@ -66,6 +66,7 @@ a { color: black } .notification .close:hover { color: black } .notification .close:active, .notification .close:focus { color: #AF3BFF } .notification small { color: #AAA } +.notification .multiline { white-space: normal; max-width: 300px; } .body-white .notification { box-shadow: 0 1px 9px rgba(0,0,0,0.1) } /* Notification select */ diff --git a/src/Ui/media/all.css b/src/Ui/media/all.css index 9964349b..4cb913b4 100644 --- a/src/Ui/media/all.css +++ b/src/Ui/media/all.css @@ -71,6 +71,7 @@ a { color: black } .notification .close:hover { color: black } .notification .close:active, .notification .close:focus { color: #AF3BFF } .notification small { color: #AAA } +.notification .multiline { white-space: normal; max-width: 300px; } .body-white .notification { -webkit-box-shadow: 0 1px 9px rgba(0,0,0,0.1) ; -moz-box-shadow: 0 1px 9px rgba(0,0,0,0.1) ; -o-box-shadow: 0 1px 9px rgba(0,0,0,0.1) ; -ms-box-shadow: 0 1px 9px rgba(0,0,0,0.1) ; box-shadow: 0 1px 9px rgba(0,0,0,0.1) } /* Notification select */