summaryrefslogtreecommitdiff
path: root/internal/templates/src/emails
diff options
context:
space:
mode:
authorJames Elliott <james-d-elliott@users.noreply.github.com>2024-08-25 23:03:59 +1000
committerGitHub <noreply@github.com>2024-08-25 23:03:59 +1000
commitd232a7f1c2cf4bb46e9936a00b81d0925094e91b (patch)
tree7b673b1e2fa1e414237dc73e3e020054ac3c2158 /internal/templates/src/emails
parent243cf77d704294bb87807716ce202851fda0769f (diff)
refactor: fix email layout (#7752)
Signed-off-by: James Elliott <james-d-elliott@users.noreply.github.com>
Diffstat (limited to 'internal/templates/src/emails')
-rw-r--r--internal/templates/src/emails/Event.tsx13
1 files changed, 4 insertions, 9 deletions
diff --git a/internal/templates/src/emails/Event.tsx b/internal/templates/src/emails/Event.tsx
index 9568d552b..c10d9bb36 100644
--- a/internal/templates/src/emails/Event.tsx
+++ b/internal/templates/src/emails/Event.tsx
@@ -48,16 +48,11 @@ export const Event = ({
</Text>
<Hr className="border border-solid border-[#eaeaea] my-[26px] mx-0 w-full" />
<Text>Event Details:</Text>
- {detailsPrefix}
- <Section className="text-center">
- <Row>
- <Column>
- <Text><strong>{detailsKey}</strong></Text>
- </Column>
- <Column>{detailsValue}</Column>
- </Row>
+ <Section className="m-2">
+ {detailsPrefix}
+ <Text><strong>{detailsKey}:</strong> {detailsValue}</Text>
+ {detailsSuffix}
</Section>
- {detailsSuffix}
<Hr className="border border-solid border-[#eaeaea] my-[26px] mx-0 w-full" />
<Text className="text-[#666666] text-[12px] leading-[24px] text-center">
This notification was intended for <span className="text-black">{displayName}</span>. This