File tree Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change 7
7
Divider ,
8
8
Font ,
9
9
Head ,
10
+ HideInText ,
10
11
Image ,
11
12
InText ,
12
13
Mjml ,
@@ -39,13 +40,15 @@ export const EmailTemplate = ({
39
40
< Head >
40
41
< Title > { title } </ Title >
41
42
{ preview != null && (
42
- < Preview >
43
- { preview }
44
- { /* Fill the remaining space with nothing-ness so the email context is avoided */ }
45
- { [ ...Array ( 140 ) . keys ( ) ] . map ( ( i ) => (
46
- < Fragment key = { i } > ͏‌ </ Fragment >
47
- ) ) }
48
- </ Preview >
43
+ < HideInText >
44
+ < Preview >
45
+ { preview }
46
+ { /* Fill the remaining space with nothing-ness so the email context is avoided */ }
47
+ { [ ...Array ( 140 ) . keys ( ) ] . map ( ( i ) => (
48
+ < Fragment key = { i } > ͏‌ </ Fragment >
49
+ ) ) }
50
+ </ Preview >
51
+ </ HideInText >
49
52
) }
50
53
< Theme />
51
54
< Style
@@ -71,7 +74,9 @@ export const EmailTemplate = ({
71
74
/>
72
75
</ Head >
73
76
< Body >
74
- < Branding />
77
+ < HideInText >
78
+ < Branding />
79
+ </ HideInText >
75
80
76
81
< Wrapper
77
82
cssClass = "card-shadow"
You can’t perform that action at this time.
0 commit comments