From 8557584508991097bd8a0232f71e04bdd4f90323 Mon Sep 17 00:00:00 2001 From: Brad Simpson Date: Tue, 15 Oct 2024 09:24:47 -0600 Subject: [PATCH] Update: Move notify title above body text (fix #586) (#587) --- less/core/notify.less | 2 +- templates/notifyPopup.hbs | 30 +++++++++++++++--------------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/less/core/notify.less b/less/core/notify.less index 63c82992..c55beac4 100644 --- a/less/core/notify.less +++ b/less/core/notify.less @@ -42,7 +42,7 @@ flex-direction: row; column-gap: 1rem; - .notify__body { + .notify__text { width: 60%; } diff --git a/templates/notifyPopup.hbs b/templates/notifyPopup.hbs index f500cc33..e0042f40 100644 --- a/templates/notifyPopup.hbs +++ b/templates/notifyPopup.hbs @@ -13,15 +13,6 @@ {{/if}} - {{#if title}} -
-
- {{{compile title}}} -
-
- {{/if}} - - {{#any _graphic._src body}}
@@ -40,13 +31,23 @@ {{~/any~}} {{~/if~}} - {{~#if body~}} -
-
- {{{compile body}}} +
+ {{#if title}} +
+
+ {{{compile title}}} +
+
+ {{/if}} + + {{~#if body~}} +
+
+ {{{compile body}}} +
+ {{~/if~}}
- {{~/if~}} {{~#if _graphic._src~}} {{~#any (equals _imageAlignment 'right') (equals _imageAlignment 'bottom')~}} @@ -65,7 +66,6 @@
- {{/any}} {{#equals _type "alert"}}