Skip to content

Commit 786740d

Browse files
refactor: Email template fix (#482)
* refactor: email templates update * changelog updates
1 parent 282a7a6 commit 786740d

File tree

12 files changed

+10
-76
lines changed

12 files changed

+10
-76
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [unreleased]
99

10+
## [13.0.1] - 2023-02-06
11+
12+
- Email template updates
13+
1014
## [13.0.0] - 2023-02-01
1115

1216
### Breaking changes

lib/build/recipe/emailpassword/emaildelivery/services/smtp/passwordReset.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -499,13 +499,6 @@ function getPasswordResetEmailHTML(appName, email, resetLink) {
499499
text-decoration: underline;
500500
}
501501
502-
@media only screen and (min-width:768px) {
503-
.templateContainer {
504-
width: 600px !important;
505-
}
506-
507-
}
508-
509502
@media only screen and (max-width: 480px) {
510503
511504
body,

lib/build/recipe/emailverification/emaildelivery/services/smtp/emailVerify.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -499,13 +499,6 @@ function getEmailVerifyEmailHTML(appName, email, verificationLink) {
499499
text-decoration: underline;
500500
}
501501
502-
@media only screen and (min-width:768px) {
503-
.templateContainer {
504-
width: 600px !important;
505-
}
506-
507-
}
508-
509502
@media only screen and (max-width: 480px) {
510503
511504
body,

lib/build/recipe/passwordless/emaildelivery/services/smtp/passwordlessLogin.js

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -506,13 +506,6 @@ function getPasswordlessLoginOTPBody(appName, email, codeLifetime, userInputCode
506506
text-decoration: underline;
507507
}
508508
509-
@media only screen and (min-width:768px) {
510-
.templateContainer {
511-
width: 600px !important;
512-
}
513-
514-
}
515-
516509
@media only screen and (max-width: 480px) {
517510
518511
body,
@@ -1421,13 +1414,6 @@ function getPasswordlessLoginURLLinkBody(appName, email, codeLifetime, urlWithLi
14211414
text-decoration: underline;
14221415
}
14231416
1424-
@media only screen and (min-width:768px) {
1425-
.templateContainer {
1426-
width: 600px !important;
1427-
}
1428-
1429-
}
1430-
14311417
@media only screen and (max-width: 480px) {
14321418
14331419
body,
@@ -2351,13 +2337,6 @@ function getPasswordlessLoginOTPAndURLLinkBody(appName, email, codeLifetime, url
23512337
text-decoration: underline;
23522338
}
23532339
2354-
@media only screen and (min-width:768px) {
2355-
.templateContainer {
2356-
width: 600px !important;
2357-
}
2358-
2359-
}
2360-
23612340
@media only screen and (max-width: 480px) {
23622341
23632342
body,

lib/build/version.d.ts

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/build/version.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/ts/recipe/emailpassword/emaildelivery/services/smtp/passwordReset.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -515,13 +515,6 @@ export function getPasswordResetEmailHTML(appName: string, email: string, resetL
515515
text-decoration: underline;
516516
}
517517
518-
@media only screen and (min-width:768px) {
519-
.templateContainer {
520-
width: 600px !important;
521-
}
522-
523-
}
524-
525518
@media only screen and (max-width: 480px) {
526519
527520
body,

lib/ts/recipe/emailverification/emaildelivery/services/smtp/emailVerify.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -514,13 +514,6 @@ export function getEmailVerifyEmailHTML(appName: string, email: string, verifica
514514
text-decoration: underline;
515515
}
516516
517-
@media only screen and (min-width:768px) {
518-
.templateContainer {
519-
width: 600px !important;
520-
}
521-
522-
}
523-
524517
@media only screen and (max-width: 480px) {
525518
526519
body,

lib/ts/recipe/passwordless/emaildelivery/services/smtp/passwordlessLogin.ts

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -520,13 +520,6 @@ function getPasswordlessLoginOTPBody(appName: string, email: string, codeLifetim
520520
text-decoration: underline;
521521
}
522522
523-
@media only screen and (min-width:768px) {
524-
.templateContainer {
525-
width: 600px !important;
526-
}
527-
528-
}
529-
530523
@media only screen and (max-width: 480px) {
531524
532525
body,
@@ -1441,13 +1434,6 @@ function getPasswordlessLoginURLLinkBody(
14411434
text-decoration: underline;
14421435
}
14431436
1444-
@media only screen and (min-width:768px) {
1445-
.templateContainer {
1446-
width: 600px !important;
1447-
}
1448-
1449-
}
1450-
14511437
@media only screen and (max-width: 480px) {
14521438
14531439
body,
@@ -2378,13 +2364,6 @@ function getPasswordlessLoginOTPAndURLLinkBody(
23782364
text-decoration: underline;
23792365
}
23802366
2381-
@media only screen and (min-width:768px) {
2382-
.templateContainer {
2383-
width: 600px !important;
2384-
}
2385-
2386-
}
2387-
23882367
@media only screen and (max-width: 480px) {
23892368
23902369
body,

lib/ts/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* License for the specific language governing permissions and limitations
1313
* under the License.
1414
*/
15-
export const version = "13.0.0";
15+
export const version = "13.0.1";
1616

1717
export const cdiSupported = ["2.8", "2.9", "2.10", "2.11", "2.12", "2.13", "2.14", "2.15"];
1818

0 commit comments

Comments
 (0)