templates: add explicit background-color style to email buttons (#50701)
This avoids triggering SpamAssassin low contrast check; the shortcut background property is kept as some email readers may have alternate bugs and not consider background-color.
This commit is contained in:
parent
4a7d7837d6
commit
d3e7368662
|
@ -1,8 +1,8 @@
|
|||
<br>
|
||||
<table role="presentation" cellspacing="0" cellpadding="0" border="0" align="center" style="margin: auto;">
|
||||
<tr>
|
||||
<td style="border-radius: 3px; background: #7D7D7D; text-align: center;" class="button-td">
|
||||
<a href="{{url}}" style="background: #7D7D7D; border: 15px solid #7D7D7D; font-family: sans-serif; font-size: 13px; line-height: 1.1; text-align: center; text-decoration: none; display: block; border-radius: 3px; font-weight: bold;" class="button-a">
|
||||
<td style="border-radius: 3px; background: #7D7D7D; background-color: #7D7D7D; text-align: center;" class="button-td">
|
||||
<a href="{{url}}" style="background: #7D7D7D; background-color: #7D7D7D; border: 15px solid #7D7D7D; font-family: sans-serif; font-size: 13px; line-height: 1.1; text-align: center; text-decoration: none; display: block; border-radius: 3px; font-weight: bold;" class="button-a">
|
||||
<span style="color:#ffffff;" class="button-link">{{label}}</span>
|
||||
</a>
|
||||
</td>
|
||||
|
|
Loading…
Reference in New Issue