From dc0ea1e8ceaf6678b4a032098bb330932a936a28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Mon, 18 Oct 2021 18:58:39 +0300 Subject: [PATCH] Remove unused bits from the base email template --- templates/emails/base.html | 69 ++++++++++++-------------------------- 1 file changed, 21 insertions(+), 48 deletions(-) diff --git a/templates/emails/base.html b/templates/emails/base.html index 7b6721c7..929c80c4 100644 --- a/templates/emails/base.html +++ b/templates/emails/base.html @@ -40,17 +40,6 @@ margin: 0 auto !important; } - /* USE THESE CLASSES TO HIDE CONTENT ON MOBILE */ - .mobile-hide { - display: none !important; - } - - .img-max { - max-width: 100% !important; - width: 100% !important; - height: auto !important; - } - /* FULL-WIDTH TABLES */ .responsive-table { width: 100% !important; @@ -61,15 +50,6 @@ padding: 10px 5% 15px 5% !important; } - .padding-meta { - padding: 30px 5% 0px 5% !important; - text-align: center; - } - - .no-padding { - padding: 0 !important; - } - .section-padding { padding: 50px 15px 50px 15px !important; } @@ -126,45 +106,38 @@ + + {% if button_text %} + +
- - - {% if button_text %} +
- - - - -
- {% block content %}{% endblock %} -
+
+ {% block content %}{% endblock %}
+
+ - + + {% endif %} + +
- + - {% endif %} +
+ - +
- - - - -
{{ button_text }}
-
{{ button_text }}
+
+ -
- - - - -
- {% block content_more %}{% endblock %} -
+
+ {% block content_more %}{% endblock %}