From 8f4a1f4fc2c205c4942ea9ecf13890bf4f48f209 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois?= Date: Mon, 18 May 2020 12:27:21 +0200 Subject: [PATCH 1/2] fixing bad width in 2FA email template --- src/static/templates/email/twofactor_email.html.hbs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/static/templates/email/twofactor_email.html.hbs b/src/static/templates/email/twofactor_email.html.hbs index 193cd9ef..739b6f43 100644 --- a/src/static/templates/email/twofactor_email.html.hbs +++ b/src/static/templates/email/twofactor_email.html.hbs @@ -42,7 +42,7 @@ Your Two-step Login Verification Code body { background-color: #f6f6f6; } - @media only screen and (max-width: 600px) { + @media only screen and (max-width: 410px) { body { padding: 0 !important; } @@ -86,10 +86,10 @@ Your Two-step Login Verification Code - - +
+ -
+
From afaebc6cf359fb77c65bdf80ec07bfa4573709d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois?= Date: Wed, 20 May 2020 13:38:04 +0200 Subject: [PATCH 2/2] fixing hard coded width email templates --- src/static/templates/email/change_email.html.hbs | 2 +- src/static/templates/email/delete_account.html.hbs | 2 +- src/static/templates/email/invite_accepted.html.hbs | 2 +- src/static/templates/email/invite_confirmed.html.hbs | 2 +- src/static/templates/email/new_device_logged_in.html.hbs | 2 +- src/static/templates/email/pw_hint_none.html.hbs | 2 +- src/static/templates/email/pw_hint_some.html.hbs | 2 +- src/static/templates/email/send_org_invite.html.hbs | 2 +- src/static/templates/email/smtp_test.html.hbs | 2 +- src/static/templates/email/twofactor_email.html.hbs | 2 +- src/static/templates/email/verify_email.html.hbs | 2 +- src/static/templates/email/welcome.html.hbs | 2 +- src/static/templates/email/welcome_must_verify.html.hbs | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/static/templates/email/change_email.html.hbs b/src/static/templates/email/change_email.html.hbs index afca96d6..94a7dcaa 100644 --- a/src/static/templates/email/change_email.html.hbs +++ b/src/static/templates/email/change_email.html.hbs @@ -87,7 +87,7 @@ Your Email Change
- +
diff --git a/src/static/templates/email/delete_account.html.hbs b/src/static/templates/email/delete_account.html.hbs index 70a92cd9..2330a337 100644 --- a/src/static/templates/email/delete_account.html.hbs +++ b/src/static/templates/email/delete_account.html.hbs @@ -87,7 +87,7 @@ Delete Your Account
- +
diff --git a/src/static/templates/email/invite_accepted.html.hbs b/src/static/templates/email/invite_accepted.html.hbs index 6dcbe61e..4466da0d 100644 --- a/src/static/templates/email/invite_accepted.html.hbs +++ b/src/static/templates/email/invite_accepted.html.hbs @@ -87,7 +87,7 @@ Invitation accepted
- +
diff --git a/src/static/templates/email/invite_confirmed.html.hbs b/src/static/templates/email/invite_confirmed.html.hbs index b259f005..7a78af0c 100644 --- a/src/static/templates/email/invite_confirmed.html.hbs +++ b/src/static/templates/email/invite_confirmed.html.hbs @@ -87,7 +87,7 @@ Invitation to {{org_name}} confirmed
- +
diff --git a/src/static/templates/email/new_device_logged_in.html.hbs b/src/static/templates/email/new_device_logged_in.html.hbs index 4edc07e6..d13f3bcb 100644 --- a/src/static/templates/email/new_device_logged_in.html.hbs +++ b/src/static/templates/email/new_device_logged_in.html.hbs @@ -87,7 +87,7 @@ New Device Logged In From {{device}}
- +
diff --git a/src/static/templates/email/pw_hint_none.html.hbs b/src/static/templates/email/pw_hint_none.html.hbs index bf3162c8..8a4855d5 100644 --- a/src/static/templates/email/pw_hint_none.html.hbs +++ b/src/static/templates/email/pw_hint_none.html.hbs @@ -87,7 +87,7 @@ Sorry, you have no password hint...
- +
diff --git a/src/static/templates/email/pw_hint_some.html.hbs b/src/static/templates/email/pw_hint_some.html.hbs index e3df1725..0cd26b17 100644 --- a/src/static/templates/email/pw_hint_some.html.hbs +++ b/src/static/templates/email/pw_hint_some.html.hbs @@ -87,7 +87,7 @@ Your master password hint
- +
diff --git a/src/static/templates/email/send_org_invite.html.hbs b/src/static/templates/email/send_org_invite.html.hbs index 3c3fc25f..0809262f 100644 --- a/src/static/templates/email/send_org_invite.html.hbs +++ b/src/static/templates/email/send_org_invite.html.hbs @@ -87,7 +87,7 @@ Join {{org_name}}
- +
diff --git a/src/static/templates/email/smtp_test.html.hbs b/src/static/templates/email/smtp_test.html.hbs index 154bda0c..dbff4502 100644 --- a/src/static/templates/email/smtp_test.html.hbs +++ b/src/static/templates/email/smtp_test.html.hbs @@ -87,7 +87,7 @@ Bitwarden_rs SMTP Test
- +
diff --git a/src/static/templates/email/twofactor_email.html.hbs b/src/static/templates/email/twofactor_email.html.hbs index 739b6f43..36bf58eb 100644 --- a/src/static/templates/email/twofactor_email.html.hbs +++ b/src/static/templates/email/twofactor_email.html.hbs @@ -87,7 +87,7 @@ Your Two-step Login Verification Code
- +
diff --git a/src/static/templates/email/verify_email.html.hbs b/src/static/templates/email/verify_email.html.hbs index c950c7f2..44d76d2e 100644 --- a/src/static/templates/email/verify_email.html.hbs +++ b/src/static/templates/email/verify_email.html.hbs @@ -87,7 +87,7 @@ Verify Your Email
- +
diff --git a/src/static/templates/email/welcome.html.hbs b/src/static/templates/email/welcome.html.hbs index 27930715..41b8398d 100644 --- a/src/static/templates/email/welcome.html.hbs +++ b/src/static/templates/email/welcome.html.hbs @@ -87,7 +87,7 @@ Welcome
- +
diff --git a/src/static/templates/email/welcome_must_verify.html.hbs b/src/static/templates/email/welcome_must_verify.html.hbs index 945789c7..90133008 100644 --- a/src/static/templates/email/welcome_must_verify.html.hbs +++ b/src/static/templates/email/welcome_must_verify.html.hbs @@ -87,7 +87,7 @@ Welcome
- +