Update contribution_recurring_billing_html.tpl
authorMaria <70949178+mariav0@users.noreply.github.com>
Tue, 19 Oct 2021 14:40:02 +0000 (16:40 +0200)
committerGitHub <noreply@github.com>
Tue, 19 Oct 2021 14:40:02 +0000 (16:40 +0200)
Text and table do not fit well together when everything is centered (in most message templates). The change should be applied for all message templates for consistency reasons.
More information (including screenshots) can you find here: #21850
Important note: I haven't tested this specific template. I don't think it's a major change and it will look and work as well as all other templates. If you think it is needed, me or anyone else (any help is highly appreciated :) can provide screenshots.

xml/templates/message_templates/contribution_recurring_billing_html.tpl

index e166bbaf39931d24ae3860282b75406c290121af..ab2b2657abffecad353d6f5a12af275ad19bb612 100644 (file)
@@ -10,7 +10,6 @@
 {capture assign=labelStyle }style="padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;"{/capture}
 {capture assign=valueStyle }style="padding: 4px; border-bottom: 1px solid #999;"{/capture}
 
-<center>
   <table id="crm-event_receipt" style="font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;">
 
   <!-- BEGIN HEADER -->
@@ -59,7 +58,6 @@
         </td>
        </tr>
   </table>
-</center>
 
 </body>
 </html>