From 863f0452c546f67fc46e19ef229c0b32c50a73a0 Mon Sep 17 00:00:00 2001 From: Michael Geers Date: Sun, 6 Jun 2021 11:58:53 +0200 Subject: [PATCH] Wider notification modal on desktop; enforce wordbreaks for long string (#1116) --- assets/js/components/Notifications.stories.js | 7 +++++++ assets/js/components/Notifications.vue | 7 +++++-- dist/index.html | 4 ++-- dist/js/index.7181b7f3.js | 2 ++ dist/js/index.7181b7f3.js.map | 1 + dist/js/index.ce8c46e1.js | 2 -- dist/js/index.ce8c46e1.js.map | 1 - 7 files changed, 17 insertions(+), 7 deletions(-) create mode 100644 dist/js/index.7181b7f3.js create mode 100644 dist/js/index.7181b7f3.js.map delete mode 100644 dist/js/index.ce8c46e1.js delete mode 100644 dist/js/index.ce8c46e1.js.map diff --git a/assets/js/components/Notifications.stories.js b/assets/js/components/Notifications.stories.js index a00d194d0..d4a3d3556 100644 --- a/assets/js/components/Notifications.stories.js +++ b/assets/js/components/Notifications.stories.js @@ -43,6 +43,13 @@ Base.args = { count: 1, time: timeAgo(1, 12, 44), }, + { + message: + "Block device full: can not write to /tmp/evcc/foobarloremawefhwuiehfwuiehfwiauhefjkajowaeigjwalvmoweivwail", + type: "error", + count: 1, + time: timeAgo(1, 12, 44), + }, { message: "charger out of sync: expected disabled, got enabled", type: "warn", diff --git a/assets/js/components/Notifications.vue b/assets/js/components/Notifications.vue index 59646fae7..0a4324ab3 100644 --- a/assets/js/components/Notifications.vue +++ b/assets/js/components/Notifications.vue @@ -17,7 +17,10 @@ role="dialog" aria-hidden="true" > -