make long customer and coffee names fit on one line
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Aadil Ayub 2024-07-04 19:16:05 +05:00
parent 4ea9d5d69c
commit 2bb5cf122c

View File

@ -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 {