Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the full width in the email header #4905

Merged
merged 2 commits into from
Aug 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions src/emails/templates/EmailHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@ export const EmailHeader = (props: Props) => {
padding="10px 20px"
background-color="white"
>
<mj-column width="200px" vertical-align="middle">
<mj-column
width="60%"
padding-left="0"
padding-right="0"
vertical-align="middle"
>
<mj-image
alt={l10n.getString("public-nav-name")}
src={`${process.env.SERVER_URL}/images/email/monitor-logo-with-bg.png`}
Expand All @@ -26,7 +31,12 @@ export const EmailHeader = (props: Props) => {
align="left"
/>
</mj-column>
<mj-column width="60%" vertical-align="middle">
<mj-column
width="40%"
padding-left="0"
padding-right="0"
vertical-align="middle"
>
<mj-text align="right">
<a
href={`${process.env.SERVER_URL}/user/dashboard/fixed?utm_source=monitor-product&utm_medium=email&utm_campaign=${props.utm_campaign}&utm_content=sign-in-us`}
Expand Down
Loading