I am generating a multi-page PDF from a webpage using puppeteer v 5.2.1.
I am using the following to ensure that this block element is not cut off at the page break:
.wrapper {
display: block;
float: left;
break-inside: avoid;
}
I have set up other paged media stuff using @page to see that Puppeteer can deal with paged media.
But my block elements still get cut off?
Pupetteer is emulating the screen. Though when it uses the default print emulation, I get the same results.
Is there something I am missing in my setup?