div.pagebreak {
page-break-after: always;
page-break-inside: avoid;
}
HTML
<!-- Page separator -->
<div class="pagebreak" style="float: none;"><hr class="hidden-print" /></div>
<app-mud-check-header [report] ="mudCheckWorksheet"></app-mud-check-header>
The given code snippet above is intended to add a page breaker, however it does not seem to be functioning as expected. Despite trying variations such as break-after and break-inside, everything continues to print on a single page. Any suggestions for troubleshooting?