Mercurial > gemma
changeset 5156:0897859b2f4a
fix toast css. Respect newlines in messages
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Thu, 02 Apr 2020 12:05:07 +0200 |
parents | 20f338cb4d48 |
children | 673f2a00c767 |
files | client/src/assets/application.scss client/src/components/importoverview/ImportOverview.vue |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/client/src/assets/application.scss Wed Apr 01 19:01:08 2020 +0200 +++ b/client/src/assets/application.scss Thu Apr 02 12:05:07 2020 +0200 @@ -195,6 +195,9 @@ .snotifyToast__title { font-size: 1.2rem; } + .snotifyToast__body { + white-space: pre-line; + } } select.form-control-sm.small {
--- a/client/src/components/importoverview/ImportOverview.vue Wed Apr 01 19:01:08 2020 +0200 +++ b/client/src/components/importoverview/ImportOverview.vue Thu Apr 02 12:05:07 2020 +0200 @@ -503,7 +503,7 @@ if (x.message) return x.message; if (x.error) return x.error; }) - .join("\n\n"); + .join("\n"); displayInfo({ title: "Staging Area", message: messages,