diff --git a/wp-content/themes/mont58-coffee/template-order-label.php b/wp-content/themes/mont58-coffee/template-order-label.php index d469f1b..f9ec472 100644 --- a/wp-content/themes/mont58-coffee/template-order-label.php +++ b/wp-content/themes/mont58-coffee/template-order-label.php @@ -69,7 +69,7 @@ if(!is_user_logged_in()){ } .label .product-details .origin { - font-size: 5mm; + font-size: 4mm; /* so that 20 char names fit on one line */ font-weight: 700; letter-spacing: calc(0.4 * 4px); margin-block: 3mm; @@ -90,7 +90,7 @@ if(!is_user_logged_in()){ } .label .product-details .code { - min-height: calc(0.4 * 20px); + min-height: 6mm; letter-spacing: calc(0.4 * 10px); margin-top: 2mm; font-size: 4mm; @@ -99,9 +99,9 @@ if(!is_user_logged_in()){ .label .order-details { text-align: center; width: 100%; - font-size: calc(0.35 * 17px); font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; - font-size: 4mm; + font-size: 2.2mm; /* so that names as long as 50 characters stay on one line */ + margin-top: 4.6mm; /* to center text inside white area */ } .label .order-details p {