From c663673cea2be4c10dbb4eea2eef8afe9ebede55 Mon Sep 17 00:00:00 2001 From: vhcsilva Date: Fri, 16 Aug 2024 11:01:05 -0300 Subject: [PATCH 1/4] adjust email template for mobile --- .../templates/handlebars/base-template.hbs | 56 ++++++++++--------- .../templates/handlebars/partials/styles.hbs | 33 +++++++++-- 2 files changed, 58 insertions(+), 31 deletions(-) diff --git a/src/integrations/send-grid/notifications/templates/handlebars/base-template.hbs b/src/integrations/send-grid/notifications/templates/handlebars/base-template.hbs index c70f741e..9d9ee648 100644 --- a/src/integrations/send-grid/notifications/templates/handlebars/base-template.hbs +++ b/src/integrations/send-grid/notifications/templates/handlebars/base-template.hbs @@ -9,32 +9,34 @@ {{> styles}} - - - - -
- {{> logo}} -

{{notificationTitleHeading}}

- - - - -
-

{{taskTitleParagraph}}

- View task -
-
Manage your BEPRO notifications
- - - - - -
+
+ + + + +
+ {{> logo}} +

{{notificationTitleHeading}}

+ + + + +
+

{{taskTitleParagraph}}

+ View task +
+
Manage your BEPRO notifications
+ + + + + +
+
diff --git a/src/integrations/send-grid/notifications/templates/handlebars/partials/styles.hbs b/src/integrations/send-grid/notifications/templates/handlebars/partials/styles.hbs index ec05aa58..175f52e2 100644 --- a/src/integrations/send-grid/notifications/templates/handlebars/partials/styles.hbs +++ b/src/integrations/send-grid/notifications/templates/handlebars/partials/styles.hbs @@ -1,13 +1,29 @@ \ No newline at end of file From 67b393e300f1a049f08f2137ac48cabb6ddf900c Mon Sep 17 00:00:00 2001 From: vhcsilva Date: Fri, 23 Aug 2024 10:48:42 -0300 Subject: [PATCH 4/4] more adjusts --- .../notifications/templates/handlebars/partials/styles.hbs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/integrations/send-grid/notifications/templates/handlebars/partials/styles.hbs b/src/integrations/send-grid/notifications/templates/handlebars/partials/styles.hbs index f3167ffd..4fb4af83 100644 --- a/src/integrations/send-grid/notifications/templates/handlebars/partials/styles.hbs +++ b/src/integrations/send-grid/notifications/templates/handlebars/partials/styles.hbs @@ -11,7 +11,7 @@ @media only screen and (max-width: 600px) { #container { - padding: 2rem; + padding: 2.5rem; } html { @@ -23,6 +23,7 @@ width: 100%; background: #09090B; font-family: 'Inter', sans-serif; + min-height: 700px; } #container {