I have created a container that has the size of a DIN A4 in he mode "screen". In that container I fill the formular with data and want to generate a new page under the previous page, if the new row doesnt fit in the previous page anymore. My goal is to print the formular like WYSIWYG. I am using angular as framework.
HTML:
<div class="container">
<div class"card">
<form ....>
<table>
<tbody>
<tr *ngFor="let element of elements.controls; let i = index;" [formGroupName]="i">
table content that can expands. If this reach the max of the DIN A4 height it should do a "page-break"
</tr>
</tbody>
</table>
</form>
</div>
</div>
SCSS:
.invoice-container {
width: 210 mm;
ming-height: 297;
.card {
...
}
....
}