Skip to content

Commit d09f854

Browse files
Merge pull request #284 from supertokens/email-template-fix
refactor: Email template fix
2 parents 437f24d + 86b5fb3 commit d09f854

File tree

10 files changed

+7
-72
lines changed

10 files changed

+7
-72
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+
## [0.12.1] - 2023-02-06
11+
12+
- Email template updates
13+
1014
# [0.12.0] - 2023-02-03
1115
### Breaking changes
1216

html/supertokens_python/recipe/emailpassword/emaildelivery/services/smtp/password_reset_email.html

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -511,13 +511,6 @@ <h1 class="title">Module <code>supertokens_python.recipe.emailpassword.emaildeli
511511
text-decoration: underline;
512512
}
513513

514-
@media only screen and (min-width:768px) {
515-
.templateContainer {
516-
width: 600px !important;
517-
}
518-
519-
}
520-
521514
@media only screen and (max-width: 480px) {
522515

523516
body,

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

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -511,13 +511,6 @@ <h1 class="title">Module <code>supertokens_python.recipe.emailverification.email
511511
text-decoration: underline;
512512
}
513513

514-
@media only screen and (min-width:768px) {
515-
.templateContainer {
516-
width: 600px !important;
517-
}
518-
519-
}
520-
521514
@media only screen and (max-width: 480px) {
522515

523516
body,

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

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -511,13 +511,6 @@ <h1 class="title">Module <code>supertokens_python.recipe.passwordless.emaildeliv
511511
text-decoration: underline;
512512
}
513513

514-
@media only screen and (min-width:768px) {
515-
.templateContainer {
516-
width: 600px !important;
517-
}
518-
519-
}
520-
521514
@media only screen and (max-width: 480px) {
522515

523516
body,
@@ -1425,13 +1418,6 @@ <h1 class="title">Module <code>supertokens_python.recipe.passwordless.emaildeliv
14251418
text-decoration: underline;
14261419
}
14271420

1428-
@media only screen and (min-width:768px) {
1429-
.templateContainer {
1430-
width: 600px !important;
1431-
}
1432-
1433-
}
1434-
14351421
@media only screen and (max-width: 480px) {
14361422

14371423
body,
@@ -2355,13 +2341,6 @@ <h1 class="title">Module <code>supertokens_python.recipe.passwordless.emaildeliv
23552341
text-decoration: underline;
23562342
}
23572343

2358-
@media only screen and (min-width:768px) {
2359-
.templateContainer {
2360-
width: 600px !important;
2361-
}
2362-
2363-
}
2364-
23652344
@media only screen and (max-width: 480px) {
23662345

23672346
body,

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.12.0",
73+
version="0.12.1",
7474
author="SuperTokens",
7575
license="Apache 2.0",
7676
author_email="[email protected]",

src/supertokens-python

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit e989cfd244dc5ed2437e49ab6b476f7e9bd16861

supertokens_python/constants.py

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
SUPPORTED_CDI_VERSIONS = ["2.9", "2.10", "2.11", "2.12", "2.13", "2.14", "2.15"]
15-
VERSION = "0.12.0"
15+
VERSION = "0.12.1"
1616
TELEMETRY = "/telemetry"
1717
USER_COUNT = "/users/count"
1818
USER_DELETE = "/user/remove"

supertokens_python/recipe/emailpassword/emaildelivery/services/smtp/password_reset_email.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -483,13 +483,6 @@
483483
text-decoration: underline;
484484
}
485485
486-
@media only screen and (min-width:768px) {
487-
.templateContainer {
488-
width: 600px !important;
489-
}
490-
491-
}
492-
493486
@media only screen and (max-width: 480px) {
494487
495488
body,

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

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -483,13 +483,6 @@
483483
text-decoration: underline;
484484
}
485485
486-
@media only screen and (min-width:768px) {
487-
.templateContainer {
488-
width: 600px !important;
489-
}
490-
491-
}
492-
493486
@media only screen and (max-width: 480px) {
494487
495488
body,

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

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -483,13 +483,6 @@
483483
text-decoration: underline;
484484
}
485485
486-
@media only screen and (min-width:768px) {
487-
.templateContainer {
488-
width: 600px !important;
489-
}
490-
491-
}
492-
493486
@media only screen and (max-width: 480px) {
494487
495488
body,
@@ -1397,13 +1390,6 @@
13971390
text-decoration: underline;
13981391
}
13991392
1400-
@media only screen and (min-width:768px) {
1401-
.templateContainer {
1402-
width: 600px !important;
1403-
}
1404-
1405-
}
1406-
14071393
@media only screen and (max-width: 480px) {
14081394
14091395
body,
@@ -2327,13 +2313,6 @@
23272313
text-decoration: underline;
23282314
}
23292315
2330-
@media only screen and (min-width:768px) {
2331-
.templateContainer {
2332-
width: 600px !important;
2333-
}
2334-
2335-
}
2336-
23372316
@media only screen and (max-width: 480px) {
23382317
23392318
body,

0 commit comments

Comments
 (0)