From 6c5d68421838a6cdca9d5c29aec74b59cdaa9d36 Mon Sep 17 00:00:00 2001
From: Patrick Fic <>
Date: Thu, 3 Nov 2022 16:37:09 -0700
Subject: [PATCH] Add title to email overlay to prevent close button overlap.
---
bodyshop_translations.babel | 21 +++++++++++++++++++
.../email-overlay/email-overlay.container.jsx | 3 ++-
client/src/translations/en_us/common.json | 1 +
client/src/translations/es/common.json | 1 +
client/src/translations/fr/common.json | 1 +
5 files changed, 26 insertions(+), 1 deletion(-)
diff --git a/bodyshop_translations.babel b/bodyshop_translations.babel
index fbf938dff..8450d9350 100644
--- a/bodyshop_translations.babel
+++ b/bodyshop_translations.babel
@@ -14191,6 +14191,27 @@
+
+ emailpreview
+ false
+
+
+
+
+
+ en-US
+ false
+
+
+ es-MX
+ false
+
+
+ fr-CA
+ false
+
+
+
generatingemail
false
diff --git a/client/src/components/email-overlay/email-overlay.container.jsx b/client/src/components/email-overlay/email-overlay.container.jsx
index 906be19be..6c469c2d9 100644
--- a/client/src/components/email-overlay/email-overlay.container.jsx
+++ b/client/src/components/email-overlay/email-overlay.container.jsx
@@ -178,6 +178,7 @@ export function EmailOverlayContainer({
maskClosable={false}
width={"80%"}
onOk={() => form.submit()}
+ title={t("emails.labels.emailpreview")}
onCancel={() => {
toggleEmailOverlayVisible();
}}
@@ -198,7 +199,7 @@ export function EmailOverlayContainer({