Skip to content

Commit

Permalink
universal selector
Browse files Browse the repository at this point in the history
  • Loading branch information
codemist committed Oct 29, 2024
1 parent 1d1c396 commit df400a7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 33 deletions.
37 changes: 5 additions & 32 deletions src/emails/templates/EmailFooter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,7 @@ export const EmailFooter = (props: Props) => {
height="36px"
align="center"
/>
<mj-text
color="#321C64"
font-size="22px"
font-weight="700"
align="center"
>
<mj-text font-size="22px" font-weight="700" align="center">
{l10n.getString("email-footer-support-heading")}
</mj-text>
<mj-text font-size="16px" font-weight="400" align="center">
Expand Down Expand Up @@ -76,12 +71,7 @@ export const EmailFooter = (props: Props) => {
},
)}
</mj-text>
<mj-text
color="#3D3D3D"
font-size="14px"
font-weight="400"
align="center"
>
<mj-text font-size="14px" font-weight="400" align="center">
{l10n.getFragment("email-footer-source-hibp", {
elems: {
"hibp-link": (
Expand All @@ -100,20 +90,10 @@ export const EmailFooter = (props: Props) => {
width="150px"
align="center"
/>
<mj-text
color="#0C0C0D"
font-size="14px"
font-weight="400"
align="center"
>
<mj-text font-size="14px" font-weight="400" align="center">
149 New Montgomery St, 4th Floor, San Francisco, CA 94105
</mj-text>
<mj-text
color="#0C0C0D"
font-size="14px"
font-weight="600"
align="center"
>
<mj-text font-size="14px" font-weight="600" align="center">
<a href={CONST_URL_TERMS} style={{ color: "black" }}>
{l10n.getString("terms-of-service")}
</a>
Expand Down Expand Up @@ -151,12 +131,7 @@ export const RedesignedEmailFooter = (props: Props) => {
height="36px"
align="center"
/>
<mj-text
color="#321C64"
font-size="22px"
font-weight="700"
align="center"
>
<mj-text font-size="22px" font-weight="700" align="center">
{l10n.getString("email-footer-support-heading")}
</mj-text>
<mj-text font-size="16px" font-weight="400" align="center">
Expand All @@ -183,7 +158,6 @@ export const RedesignedEmailFooter = (props: Props) => {
align="center"
/>
<mj-text
color="#0C0C0D"
font-size="14px"
line-height="21px"
font-weight="400"
Expand All @@ -194,7 +168,6 @@ export const RedesignedEmailFooter = (props: Props) => {
San Francisco, CA 94105
</mj-text>
<mj-text
color="#0C0C0D"
font-size="14px"
line-height="21px"
font-weight="400"
Expand Down
2 changes: 1 addition & 1 deletion src/emails/templates/HeaderStyles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const HeaderStyles = () => {
background: none;
}
p {
* {
background: #1e1e1e !important;
color: #ffffff !important;
}
Expand Down

0 comments on commit df400a7

Please sign in to comment.