aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/email/default/_email_bottom.html6
-rw-r--r--templates/email/default/_email_top.html12
2 files changed, 12 insertions, 6 deletions
diff --git a/templates/email/default/_email_bottom.html b/templates/email/default/_email_bottom.html
index 0b2c0b697..4967dfaa2 100644
--- a/templates/email/default/_email_bottom.html
+++ b/templates/email/default/_email_bottom.html
@@ -1,12 +1,12 @@
</tr>
</table>
</th>
- <th></th>
+ <th class="spacer-cell"></th>
</tr>
</table>
<table [% wrapper_table %] style="[% wrapper_style %]">
<tr>
- <th></th>
+ <th class="spacer-cell"></th>
<th width="[% wrapper_max_width %]" style="[% td_style %][% hint_style %]" class="hint">
[%~ IF email_footer %]
[% email_footer %]
@@ -14,7 +14,7 @@
This email was sent automatically, from an unmonitored email account. Please do not reply to it.
[%~ END %]
</th>
- <th></th>
+ <th class="spacer-cell"></th>
</tr>
</table>
</body>
diff --git a/templates/email/default/_email_top.html b/templates/email/default/_email_top.html
index d9e3becf2..75dec6788 100644
--- a/templates/email/default/_email_top.html
+++ b/templates/email/default/_email_top.html
@@ -36,21 +36,27 @@
width: auto !important;
}
}
+
+ @media only screen and (min-width: [% wrapper_max_width %]px) {
+ .spacer-cell {
+ background-color: [% body_background_color %];
+ }
+ }
</style>
</head>
<body style="[% body_style %]">
<table [% wrapper_table %] style="[% wrapper_style %]">
<tr>
- <th></th>
+ <th class="spacer-cell"></th>
<th width="[% wrapper_max_width %]" style="[% td_style %][% hint_style %]" class="hint">
[% email_summary %]
</th>
- <th></th>
+ <th class="spacer-cell"></th>
</tr>
</table>
<table [% wrapper_table %] style="[% wrapper_style %]">
<tr>
- <th></th>
+ <th class="spacer-cell"></th>
<th width="[% wrapper_max_width %]" style="[% td_style %] min-width: [% wrapper_min_width %]px;" id="main">
<table [% table_reset %]>
<tr>