Update membership_online_receipt_html.tpl
authorMaria <70949178+mariav0@users.noreply.github.com>
Wed, 20 Oct 2021 09:28:38 +0000 (11:28 +0200)
committerGitHub <noreply@github.com>
Wed, 20 Oct 2021 09:28:38 +0000 (11:28 +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/membership_online_receipt_html.tpl

index acb379db19bb0bbaf96440e1d4dba14ab0d2c838..9e2ceb6268b68a81dbc1a07866b415710aec0d28 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 -->
      {/if}
 
   </table>
-</center>
 
 </body>
 </html>