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 193cd9e..739b6f4 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 afca96d..94a7dca 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 70a92cd..2330a33 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 6dcbe61..4466da0 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 b259f00..7a78af0 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 4edc07e..d13f3bc 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 bf3162c..8a4855d 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 e3df172..0cd26b1 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 3c3fc25..0809262 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 154bda0..dbff450 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 739b6f4..36bf58e 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 c950c7f..44d76d2 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 2793071..41b8398 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 945789c..9013300 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
- +