Skip to content

Commit bfe1936

Browse files
authored
fix(text): change shorthand margin version to support overwrite (#1945)
1 parent fdefb58 commit bfe1936

File tree

5 files changed

+13
-7
lines changed

5 files changed

+13
-7
lines changed

β€Ž.changeset/eleven-ducks-reply.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@react-email/text": minor
3+
---
4+
5+
Change shorthand margin property to support tailwind overwrite

β€Žpackages/react-email/src/cli/commands/testing/__snapshots__/export.spec.ts.snap

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,12 @@ exports[`email export 1`] = `
5656
Join <strong></strong> on <strong>Vercel</strong>
5757
</h1>
5858
<p
59-
style="color:rgb(0,0,0);font-size:14px;line-height:24px;margin:16px 0">
59+
style="color:rgb(0,0,0);font-size:14px;line-height:24px;margin-bottom:16px;margin-top:16px">
6060
Hello
6161
<!-- -->,
6262
</p>
6363
<p
64-
style="color:rgb(0,0,0);font-size:14px;line-height:24px;margin:16px 0">
64+
style="color:rgb(0,0,0);font-size:14px;line-height:24px;margin-bottom:16px;margin-top:16px">
6565
<strong></strong> (<a
6666
href="mailto:undefined"
6767
style="color:rgb(37,99,235);text-decoration-line:none"
@@ -143,7 +143,7 @@ exports[`email export 1`] = `
143143
</tbody>
144144
</table>
145145
<p
146-
style="color:rgb(0,0,0);font-size:14px;line-height:24px;margin:16px 0">
146+
style="color:rgb(0,0,0);font-size:14px;line-height:24px;margin-bottom:16px;margin-top:16px">
147147
or copy and paste this URL into your browser:<!-- -->
148148
<a
149149
style="color:rgb(37,99,235);text-decoration-line:none"
@@ -152,7 +152,7 @@ exports[`email export 1`] = `
152152
<hr
153153
style="border-width:1px;border-style:solid;border-color:rgb(234,234,234);margin-top:26px;margin-bottom:26px;margin-left:0px;margin-right:0px;width:100%;border:none;border-top:1px solid #eaeaea" />
154154
<p
155-
style="color:rgb(102,102,102);font-size:12px;line-height:24px;margin:16px 0">
155+
style="color:rgb(102,102,102);font-size:12px;line-height:24px;margin-bottom:16px;margin-top:16px">
156156
This invitation was intended for<!-- -->
157157
<span style="color:rgb(0,0,0)"></span>. This invite was sent from
158158
<span style="color:rgb(0,0,0)"></span>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
22

3-
exports[`getEmailComponent() > with a demo email template 1`] = `"<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html dir="ltr" lang="en"><head><link rel="preload" as="image" href="/static/vercel-logo.png"/><link rel="preload" as="image" href="/static/vercel-user.png"/><link rel="preload" as="image" href="/static/vercel-arrow.png"/><link rel="preload" as="image" href="/static/vercel-team.png"/><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/><meta name="x-apple-disable-message-reformatting"/><!--$--></head><body style="background-color:rgb(255,255,255);margin-top:auto;margin-bottom:auto;margin-left:auto;margin-right:auto;font-family:ui-sans-serif, system-ui, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;;padding-left:0.5rem;padding-right:0.5rem"><div style="display:none;overflow:hidden;line-height:1px;opacity:0;max-height:0;max-width:0">Join Alan on Vercel<div>Β β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»Ώ</div></div><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="border-width:1px;border-style:solid;border-color:rgb(234,234,234);border-radius:0.25rem;margin-top:40px;margin-bottom:40px;margin-left:auto;margin-right:auto;padding:20px;max-width:465px"><tbody><tr style="width:100%"><td><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-top:32px"><tbody><tr><td><img alt="Vercel" height="37" src="/static/vercel-logo.png" style="margin-top:0px;margin-bottom:0px;margin-left:auto;margin-right:auto;display:block;outline:none;border:none;text-decoration:none" width="40"/></td></tr></tbody></table><h1 style="color:rgb(0,0,0);font-size:24px;font-weight:400;text-align:center;padding:0px;margin-top:30px;margin-bottom:30px;margin-left:0px;margin-right:0px">Join <strong>Enigma</strong> on <strong>Vercel</strong></h1><p style="color:rgb(0,0,0);font-size:14px;line-height:24px;margin:16px 0">Hello <!-- -->alanturing<!-- -->,</p><p style="color:rgb(0,0,0);font-size:14px;line-height:24px;margin:16px 0"><strong>Alan</strong> (<a href="mailto:[email protected]" style="color:rgb(37,99,235);text-decoration-line:none" target="_blank">[email protected]</a>) has invited you to the <strong>Enigma</strong> team on<!-- --> <strong>Vercel</strong>.</p><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation"><tbody><tr><td><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation"><tbody style="width:100%"><tr style="width:100%"><td align="right" data-id="__react-email-column"><img height="64" src="/static/vercel-user.png" style="border-radius:9999px;display:block;outline:none;border:none;text-decoration:none" width="64"/></td><td align="center" data-id="__react-email-column"><img alt="invited you to" height="9" src="/static/vercel-arrow.png" style="display:block;outline:none;border:none;text-decoration:none" width="12"/></td><td align="left" data-id="__react-email-column"><img height="64" src="/static/vercel-team.png" style="border-radius:9999px;display:block;outline:none;border:none;text-decoration:none" width="64"/></td></tr></tbody></table></td></tr></tbody></table><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="text-align:center;margin-top:32px;margin-bottom:32px"><tbody><tr><td><a href="https://vercel.com/teams/invite/foo" style="background-color:rgb(0,0,0);border-radius:0.25rem;color:rgb(255,255,255);font-size:12px;font-weight:600;text-decoration-line:none;text-align:center;padding-left:1.25rem;padding-right:1.25rem;padding-top:0.75rem;padding-bottom:0.75rem;line-height:100%;text-decoration:none;display:inline-block;max-width:100%;mso-padding-alt:0px;padding:12px 20px 12px 20px" target="_blank"><span><!--[if mso]><i style="mso-font-width:500%;mso-text-raise:18" hidden>&#8202;&#8202;</i><![endif]--></span><span style="max-width:100%;display:inline-block;line-height:120%;mso-padding-alt:0px;mso-text-raise:9px">Join the team</span><span><!--[if mso]><i style="mso-font-width:500%" hidden>&#8202;&#8202;&#8203;</i><![endif]--></span></a></td></tr></tbody></table><p style="color:rgb(0,0,0);font-size:14px;line-height:24px;margin:16px 0">or copy and paste this URL into your browser:<!-- --> <a href="https://vercel.com/teams/invite/foo" style="color:rgb(37,99,235);text-decoration-line:none" target="_blank">https://vercel.com/teams/invite/foo</a></p><hr style="border-width:1px;border-style:solid;border-color:rgb(234,234,234);margin-top:26px;margin-bottom:26px;margin-left:0px;margin-right:0px;width:100%;border:none;border-top:1px solid #eaeaea"/><p style="color:rgb(102,102,102);font-size:12px;line-height:24px;margin:16px 0">This invitation was intended for<!-- --> <span style="color:rgb(0,0,0)">alanturing</span>. This invite was sent from <span style="color:rgb(0,0,0)">204.13.186.218</span> <!-- -->located in<!-- --> <span style="color:rgb(0,0,0)">SΓ£o Paulo, Brazil</span>. If you were not expecting this invitation, you can ignore this email. If you are concerned about your account&#x27;s safety, please reply to this email to get in touch with us.</p></td></tr></tbody></table><!--/$--></body></html>"`;
3+
exports[`getEmailComponent() > with a demo email template 1`] = `"<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html dir="ltr" lang="en"><head><link rel="preload" as="image" href="/static/vercel-logo.png"/><link rel="preload" as="image" href="/static/vercel-user.png"/><link rel="preload" as="image" href="/static/vercel-arrow.png"/><link rel="preload" as="image" href="/static/vercel-team.png"/><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/><meta name="x-apple-disable-message-reformatting"/><!--$--></head><body style="background-color:rgb(255,255,255);margin-top:auto;margin-bottom:auto;margin-left:auto;margin-right:auto;font-family:ui-sans-serif, system-ui, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;;padding-left:0.5rem;padding-right:0.5rem"><div style="display:none;overflow:hidden;line-height:1px;opacity:0;max-height:0;max-width:0">Join Alan on Vercel<div>Β β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»ΏΒ β€Œβ€‹β€β€Žβ€ο»Ώ</div></div><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="border-width:1px;border-style:solid;border-color:rgb(234,234,234);border-radius:0.25rem;margin-top:40px;margin-bottom:40px;margin-left:auto;margin-right:auto;padding:20px;max-width:465px"><tbody><tr style="width:100%"><td><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-top:32px"><tbody><tr><td><img alt="Vercel" height="37" src="/static/vercel-logo.png" style="margin-top:0px;margin-bottom:0px;margin-left:auto;margin-right:auto;display:block;outline:none;border:none;text-decoration:none" width="40"/></td></tr></tbody></table><h1 style="color:rgb(0,0,0);font-size:24px;font-weight:400;text-align:center;padding:0px;margin-top:30px;margin-bottom:30px;margin-left:0px;margin-right:0px">Join <strong>Enigma</strong> on <strong>Vercel</strong></h1><p style="color:rgb(0,0,0);font-size:14px;line-height:24px;margin-bottom:16px;margin-top:16px">Hello <!-- -->alanturing<!-- -->,</p><p style="color:rgb(0,0,0);font-size:14px;line-height:24px;margin-bottom:16px;margin-top:16px"><strong>Alan</strong> (<a href="mailto:[email protected]" style="color:rgb(37,99,235);text-decoration-line:none" target="_blank">[email protected]</a>) has invited you to the <strong>Enigma</strong> team on<!-- --> <strong>Vercel</strong>.</p><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation"><tbody><tr><td><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation"><tbody style="width:100%"><tr style="width:100%"><td align="right" data-id="__react-email-column"><img height="64" src="/static/vercel-user.png" style="border-radius:9999px;display:block;outline:none;border:none;text-decoration:none" width="64"/></td><td align="center" data-id="__react-email-column"><img alt="invited you to" height="9" src="/static/vercel-arrow.png" style="display:block;outline:none;border:none;text-decoration:none" width="12"/></td><td align="left" data-id="__react-email-column"><img height="64" src="/static/vercel-team.png" style="border-radius:9999px;display:block;outline:none;border:none;text-decoration:none" width="64"/></td></tr></tbody></table></td></tr></tbody></table><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="text-align:center;margin-top:32px;margin-bottom:32px"><tbody><tr><td><a href="https://vercel.com/teams/invite/foo" style="background-color:rgb(0,0,0);border-radius:0.25rem;color:rgb(255,255,255);font-size:12px;font-weight:600;text-decoration-line:none;text-align:center;padding-left:1.25rem;padding-right:1.25rem;padding-top:0.75rem;padding-bottom:0.75rem;line-height:100%;text-decoration:none;display:inline-block;max-width:100%;mso-padding-alt:0px;padding:12px 20px 12px 20px" target="_blank"><span><!--[if mso]><i style="mso-font-width:500%;mso-text-raise:18" hidden>&#8202;&#8202;</i><![endif]--></span><span style="max-width:100%;display:inline-block;line-height:120%;mso-padding-alt:0px;mso-text-raise:9px">Join the team</span><span><!--[if mso]><i style="mso-font-width:500%" hidden>&#8202;&#8202;&#8203;</i><![endif]--></span></a></td></tr></tbody></table><p style="color:rgb(0,0,0);font-size:14px;line-height:24px;margin-bottom:16px;margin-top:16px">or copy and paste this URL into your browser:<!-- --> <a href="https://vercel.com/teams/invite/foo" style="color:rgb(37,99,235);text-decoration-line:none" target="_blank">https://vercel.com/teams/invite/foo</a></p><hr style="border-width:1px;border-style:solid;border-color:rgb(234,234,234);margin-top:26px;margin-bottom:26px;margin-left:0px;margin-right:0px;width:100%;border:none;border-top:1px solid #eaeaea"/><p style="color:rgb(102,102,102);font-size:12px;line-height:24px;margin-bottom:16px;margin-top:16px">This invitation was intended for<!-- --> <span style="color:rgb(0,0,0)">alanturing</span>. This invite was sent from <span style="color:rgb(0,0,0)">204.13.186.218</span> <!-- -->located in<!-- --> <span style="color:rgb(0,0,0)">SΓ£o Paulo, Brazil</span>. If you were not expecting this invitation, you can ignore this email. If you are concerned about your account&#x27;s safety, please reply to this email to get in touch with us.</p></td></tr></tbody></table><!--/$--></body></html>"`;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
22

3-
exports[`<Text> component > renders correctly 1`] = `"<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!--$--><p style="font-size:14px;line-height:24px;margin:16px 0">Lorem ipsum</p><!--/$-->"`;
3+
exports[`<Text> component > renders correctly 1`] = `"<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!--$--><p style="font-size:14px;line-height:24px;margin-bottom:16px;margin-top:16px">Lorem ipsum</p><!--/$-->"`;

β€Žpackages/text/src/text.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ export const Text = React.forwardRef<HTMLParagraphElement, TextProps>(
1010
style={{
1111
fontSize: '14px',
1212
lineHeight: '24px',
13-
margin: '16px 0',
13+
marginBottom: '16px',
14+
marginTop: '16px',
1415
...style,
1516
}}
1617
/>

0 commit comments

Comments
Β (0)