I've been printing my pages with the REST API for a while now and have ironed out all issues except for one.
If you print
this page with the following settings:
'height' => '297mm', // A4 height
'width' => '210mm', // A4 width
'margin_top' => '15mm',
'pdf_scaling_factor' => 1
you get the attached pdf, which looks great, except for page 3 where the block "Programme Performance" is directly followed by the block "Conversion of interested students". I have tried to get a page break after the conversion block, but no matter on what element I place the break-after / break-before, it will not brake. I've also added aditional divs to break on, but no luck.
Could you check why this is not working?
Cheers,
Danny