Skip to content

Commit 08e44d7

Browse files
refactor: email template fix
1 parent a3dd752 commit 08e44d7

File tree

9 files changed

+7
-72
lines changed

9 files changed

+7
-72
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

88
## unreleased
9+
10+
## [0.11.14] - 2023-02-06
11+
12+
- Email template updates
13+
914
# [0.11.13] - 2023-01-06
1015

1116
- Add missing `original` attribute to flask response and remove logic for cases where `response` is `None`

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.11.13",
73+
version="0.11.14",
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
@@ -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.11.13"
15+
VERSION = "0.11.14"
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)