lib/atpay/button/templates/wrap_default.liquid in atpay_buttons-1.4.2 vs lib/atpay/button/templates/wrap_default.liquid in atpay_buttons-1.4.3
- old
+ new
@@ -1,11 +1,13 @@
<!— begin @Pay button —>
<!-- regular template with wrap -->
-<style type="text/css">.ExternalClass table.reg_mailto {display:none; display: none !important;}
+<style type="text/css">
- .ExternalClass table.out_mailto {display: table; display: table !important; font-size: 18px !important;}
+ .ExternalClass table.reg_mailto {display:none; display: none !important;}
+
+ .ExternalClass table.out_mailto {display: table; display: table !important; font-size: 18px !important; width: auto !important; height: auto !important;}
.ExternalClass table.out_mailto {font-family: Tahoma; color: #ffffff; background-color: {{background_color}};}
.ExternalClass table.out_mailto td.dollar{vertical-align:top !important; padding-right:0px !important; font-size:24px !important; padding-top:15px !important; text-align:right !important; padding-bottom:10px !important; padding-left:10px;}
.ExternalClass table.out_mailto td.cents{vertical-align:top !important; font-size:12px !important; padding-left:1px !important; padding-right:10px !important; padding-bottom:0px !important; padding-top:15px !important; text-align:left !important; text-decoration:underline !important;}
@@ -32,11 +34,11 @@
<tr>
<td style="padding-top:10px; padding-bottom:10px;">
<!-- BUTTON CODE -->
<center>
- <table class="reg_mailto" border='0' cellpadding='0' cellspacing='0' style='margin:0 auto !important; font-family: Tahoma; background-color:{{background_color}};'>
+ <table class="reg_mailto" border='0' cellpadding='0' cellspacing='0' style='margin:0px auto !important; font-family: Tahoma; background-color:{{background_color}};'>
<tr>
{% if image %}
<td style="padding-left:10px; padding-right:0px; padding-top:14px; padding-bottom:10px;text-align:right;">
<a class="reg_mailto" href="{{url}}" target="_blank" style="border-width: 0px;">
<img src="{{image}}" style="display:block; border-width: 0px;" />
@@ -60,10 +62,10 @@
<table class='out_mailto' border='0' cellpadding='0' cellspacing='0' style='display:none; width:0; height:0; padding:0; margin:0; font-size:0;'>
<tr>
{% if image %}
<td class='cart'>
<a href='{{outlook_url}}' style='display:none; border-width: 0px;' target="_blank">
- <img src='{{image}}' style='margin: 0px; width:0px; height:0px; border-width: 0px;;>
+ <img src='{{image}}' style='margin: 0px; width:0px; height:0px; border-width: 0px;'>
</a>
</td>
{% endif %}
<td class='dollar' style='width:0; height:0; padding:0; margin:0; font-size:0;' valign='top'>
<a href='{{outlook_url}}' style='display:none; border: 0 !important;' target="_blank">