I have come across a small problem when I export the form as PDF. The issue I have come across is that the the same formatting I have applied to the manual PDF Button doesn't apply to the auto-created PDF document.
This code will export the document as PDF but doesn't apply the page-break that I have added in my code:
Please share the code you are suing for adjusting the PDF file outcome and for exporting form. And also, the screenshot of the element that has a CSS class for the break point: