From e7606b13b6e914a9d48cbd617e1b598f940bb9fe Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Fri, 12 Sep 2014 17:10:23 -0400 Subject: [PATCH] Code review changes --- emails/base.html | 65 ++++++++++++++++++------------------- emails/passwordchanged.html | 3 +- 2 files changed, 34 insertions(+), 34 deletions(-) diff --git a/emails/base.html b/emails/base.html index 286f83c98..33dac53de 100644 --- a/emails/base.html +++ b/emails/base.html @@ -6,41 +6,40 @@ {{ subject }} + @media only screen and (max-width: 600px) { + a[class="btn"] { + display: block !important; margin-bottom: 10px !important; background-image: none !important; margin-right: 0 !important; + } + div[class="column"] { + width: auto !important; float: none !important; + } + table.social div[class="column"] { + width: auto !important; + } + } + - - - - -
- -
- - -
{{ app_title }}
- -
- + +
+ + + + +
+ +
+ +
{{ app_title }}
+ +
+
-
- -
- {% block content %}{% endblock %} -
- +
+ - -
+ {% block content %}{% endblock %}
+
+ +
diff --git a/emails/passwordchanged.html b/emails/passwordchanged.html index e3fd554e4..07c6232cc 100644 --- a/emails/passwordchanged.html +++ b/emails/passwordchanged.html @@ -7,6 +7,7 @@ The password for user {{ username | user_reference }} has been updated.

-If this change was not expected, please immediately log into your {{ username | admin_reference }} and reset your password. +If this change was not expected, please immediately log into your account settings and reset your email address, +or contact support. {% endblock %}