Add page breaks

This commit is contained in:
2026-10-25 21:37:45 +01:00
parent 6c0f2a908a
commit c348514d7c
4 changed files with 41 additions and 28 deletions
+14 -1
View File
@@ -123,7 +123,20 @@ body.scale-cv {
}
.scale-cv .resume {
height: 1122px;
/* At least one A4 page; grows so html2pdf can split it onto more pages */
min-height: 1122px;
}
/* Keep entries and section titles together when breaking to a new page */
.scale-cv .experience_content,
.scale-cv .education_content,
.scale-cv .section-title {
break-inside: avoid;
}
/* Put <div class="page-break"></div> in the template to start a new PDF page there */
.page-break {
break-before: page;
}
.scale-cv .resume_left {