From e9308640ec9f161daeecd450a5dfb1f04de1cb42 Mon Sep 17 00:00:00 2001 From: Kyriakos Z <3829551+koox00@users.noreply.github.com> Date: Fri, 22 Oct 2021 11:13:06 +0300 Subject: [PATCH] MM-35847: fixes email templates (#18634) Some email clients don't support style tags which results in CTA buttons not being visible, and other styling being "broken". This commit tries to fix that issue by both including style tags and inlining the same CSS. --- templates/cloud_trial_end_warning.html | 22 ++- templates/cloud_trial_ended_email.html | 22 ++- templates/invite_body.html | 48 ++--- templates/license_up_for_renewal.html | 22 ++- templates/messages_notification.html | 44 ++--- templates/partials/style.css | 229 ++++++++++++++++++++++++ templates/partials/style.mjml | 233 +------------------------ templates/reset_body.html | 22 +-- templates/verify_body.html | 24 +-- templates/welcome_body.html | 28 +-- 10 files changed, 356 insertions(+), 338 deletions(-) create mode 100644 templates/partials/style.css diff --git a/templates/cloud_trial_end_warning.html b/templates/cloud_trial_end_warning.html index 09b97cac78..16d618ab83 100644 --- a/templates/cloud_trial_end_warning.html +++ b/templates/cloud_trial_end_warning.html @@ -58,6 +58,12 @@ .mj-outlook-group-fix { width:100% !important; } + + + + + + + + + + + +