Skip to content

Commit 3eec8bf

Browse files
committed
chore(demo): Make email support adjustments
1 parent c2ff55c commit 3eec8bf

File tree

5 files changed

+6
-11
lines changed

5 files changed

+6
-11
lines changed

apps/demo/emails/magic-links/plaid-verify-identity.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ const codeContainer = {
115115

116116
const code = {
117117
color: '#000',
118-
display: 'inline-block',
119118
fontFamily: 'HelveticaNeue-Bold',
120119
fontSize: '32px',
121120
fontWeight: 700,
@@ -124,7 +123,7 @@ const code = {
124123
paddingBottom: '8px',
125124
paddingTop: '8px',
126125
margin: '0 auto',
127-
width: '100%',
126+
display: 'block',
128127
textAlign: 'center' as const,
129128
};
130129

apps/demo/emails/magic-links/slack-confirm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ const footerLogos = {
178178
marginBottom: '32px',
179179
paddingLeft: '8px',
180180
paddingRight: '8px',
181-
width: '100%',
181+
display: 'block'
182182
};
183183

184184
const socialMediaIcon = {

apps/demo/emails/notifications/yelp-recent-login.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export const YelpRecentLoginEmail = ({
112112
</Column>
113113
</Row>
114114
<Row style={{ ...boxInfos, paddingTop: '0' }}>
115-
<Column style={containerButton} colSpan={2}>
115+
<Column style={buttonContainer} colSpan={2}>
116116
<Button style={button}>Learn More</Button>
117117
</Column>
118118
</Row>
@@ -166,10 +166,8 @@ const logo = {
166166
padding: '30px 20px',
167167
};
168168

169-
const containerButton = {
169+
const buttonContainer = {
170170
display: 'flex',
171-
justifyContent: 'center',
172-
width: '100%',
173171
};
174172

175173
const button = {
@@ -179,6 +177,7 @@ const button = {
179177
fontWeight: 'bold',
180178
border: '1px solid rgb(0,0,0, 0.1)',
181179
cursor: 'pointer',
180+
margin: '0 auto',
182181
padding: '12px 30px',
183182
};
184183

apps/demo/emails/reviews/airbnb-review.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,12 +166,10 @@ const button = {
166166
borderRadius: '3px',
167167
color: '#fff',
168168
fontSize: '18px',
169-
paddingTop: '19px',
170-
paddingBottom: '19px',
169+
padding: '19px 30px',
171170
textDecoration: 'none',
172171
textAlign: 'center' as const,
173172
display: 'block',
174-
width: '100%',
175173
};
176174

177175
const link = {

apps/demo/emails/welcome/stripe-welcome.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@ const button = {
141141
textDecoration: 'none',
142142
textAlign: 'center' as const,
143143
display: 'block',
144-
width: '100%',
145144
padding: '10px',
146145
};
147146

0 commit comments

Comments
 (0)