Skip to content

Commit 1dbaf8c

Browse files
Merge pull request #329 from supertokens/email-templates-superhuman
feat: email templates updated
2 parents 8e6dc1e + dd767b3 commit 1dbaf8c

File tree

5 files changed

+31
-2
lines changed

5 files changed

+31
-2
lines changed

CHANGELOG.md

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

99
## [unreleased]
1010

11+
12+
## [0.14.3] - 2023-06-7
13+
14+
### Changes
15+
16+
- Update email templates to fix an issue with styling on some email clients
17+
1118
## [0.14.2] - 2023-05-29
1219

1320
- Adds additional debug logs whenever the SDK throws a `TRY_REFRESH_TOKEN` or `UNAUTHORISED` error to make debugging easier
1421

22+
1523
## [0.14.1] - 2023-05-23
1624

1725
### Changes

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070

7171
setup(
7272
name="supertokens_python",
73-
version="0.14.2",
73+
version="0.14.3",
7474
author="SuperTokens",
7575
license="Apache 2.0",
7676
author_email="[email protected]",

supertokens_python/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from __future__ import annotations
1515

1616
SUPPORTED_CDI_VERSIONS = ["2.21"]
17-
VERSION = "0.14.2"
17+
VERSION = "0.14.3"
1818
TELEMETRY = "/telemetry"
1919
USER_COUNT = "/users/count"
2020
USER_DELETE = "/user/remove"

supertokens_python/recipe/emailverification/emaildelivery/services/smtp/email_verify_email.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
<title>*|MC:SUBJECT|*</title>
1111
1212
<style type="text/css">
13+
body {
14+
max-width: 100vw;
15+
overflow: hidden;
16+
}
1317
p {
1418
margin: 10px 0;
1519
padding: 0;
@@ -758,6 +762,11 @@
758762
}
759763
760764
}
765+
@media only screen and (max-width: 480px) {
766+
#meant-for {
767+
padding: 20px;
768+
}
769+
}
761770
</style>
762771
</head>
763772

supertokens_python/recipe/passwordless/emaildelivery/services/smtp/pless_login_email.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
<title>*|MC:SUBJECT|*</title>
1111
1212
<style type="text/css">
13+
body {
14+
max-width: 100vw;
15+
overflow: hidden;
16+
}
1317
p {
1418
margin: 10px 0;
1519
padding: 0;
@@ -916,6 +920,10 @@
916920
<title>*|MC:SUBJECT|*</title>
917921
918922
<style type="text/css">
923+
body {
924+
max-width: 100vw;
925+
overflow: hidden;
926+
}
919927
p {
920928
margin: 10px 0;
921929
padding: 0;
@@ -1838,6 +1846,10 @@
18381846
<title>*|MC:SUBJECT|*</title>
18391847
18401848
<style type="text/css">
1849+
body {
1850+
max-width: 100vw;
1851+
overflow: hidden;
1852+
}
18411853
p {
18421854
margin: 10px 0;
18431855
padding: 0;

0 commit comments

Comments
 (0)