Compare commits

..

No commits in common. "22063a6ba0d235544d91bc1c72e17cd9100bf128" and "9e049f7fa6e773998fde1ffe06e14d889f99359a" have entirely different histories.

2 changed files with 5 additions and 11 deletions

View File

@ -20,10 +20,9 @@ steps:
settings:
host: web1.mont58coffee.com
username: autonomic
overwrite: true
key:
from_secret: drone_ssh_mont58coffee.com
target: /var/www/production.mont58coffee.com/web/
target: /var/www/production.mont58coffee.com/web/wp-content/themes/mont58-coffee/
source: wp-content/themes/mont58-coffee/
when:
branch:

View File

@ -99,9 +99,10 @@ if(!is_user_logged_in()){
text-align: center;
width: 100%;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-size: 3.9mm; /* so that names as long as 50 characters stay on one line */
font-size: 2.9mm; /* so that names as long as 50 characters stay on one line */
margin-top: 4.6mm; /* to center text inside white area */
position: absolute;
bottom: 1.8mm; /* Adjust this value to set the distance from the bottom of the label */
bottom: 5.9mm; /* Adjust this value to set the distance from the bottom of the label */
left: 0;
right: 0;
}
@ -227,13 +228,7 @@ if(!is_user_logged_in()){
?></p>
</div>
<div class="order-details">
<?php
$customer_name = "$first_name $last_name";
if (strlen($customer_name) > 26) {
$customer_name = substr($customer_name, 0, 25) . '…';
}
?>
<p class="customer-name"><?php echo $customer_name; ?></p>
<p class="customer-name"><?php echo "$first_name $last_name"; ?></p>
<p class="purchase-code"><?php echo $postcode; ?></p>
<p class="quantity"><?php echo $total_items; ?></p>
</div>