Set the print and pay invoice buttons so there too far right.
authorSteve Sutton <ssutton@gmail.com>
Wed, 11 Apr 2018 10:51:49 +0000 (06:51 -0400)
committerSteve Sutton <ssutton@gmail.com>
Wed, 11 Apr 2018 10:51:49 +0000 (06:51 -0400)
Setting a wrapper around them and setting a max width.

views/admin/billing/viewInvoice.html

index 1fa5df6..57986cb 100644 (file)
@@ -6,13 +6,15 @@
     {include file='admin/billing/subHeader.html'}
 {/if}
 
-{if $fromMemberMenu}
-    <a href="{$thisUrl}?page=glm-members-admin-menu-member&glm_action=billing&member={$memberID}&option=makepayment" class="button button-secondary glm-right">Pay Invoice</a>
-{/if}
+<div style="max-width: 850px;">
+    {if $fromMemberMenu}
+        <a href="{$thisUrl}?page=glm-members-admin-menu-member&glm_action=billing&member={$memberID}&option=makepayment" class="button button-secondary glm-right">Pay Invoice</a>
+    {/if}
 
-<div class="button button-secondary graph-print glm-right" data-areaToPrint="PrintArea">Print</div>
-<div id="PrintArea">
-{$invoiceHtml}
+    <div class="button button-secondary graph-print glm-right" data-areaToPrint="PrintArea">Print</div>
+    <div id="PrintArea">
+    {$invoiceHtml}
+    </div>
 </div>
 
 <script src="{$jsUrl}/PrintArea/jquery.PrintArea.js" type="text/JavaScript" language="javascript"></script>