How avoid scale for page-break and div sized in mm

42 views Asked by At

We have badges. They are defined as a set of divs

break-after: page;
width: 85mm;
height: 54mm;

Height and width set in mm. We have to set the print scale to 99% so that the layout is correctly paginated.How to avoid scaling?

1

There are 1 answers

0
Alexufo On

We must set max-height and max-width

width: 85mm;
height: 54mm;
max-height: 100vh;
max-width: 100vw;