Add page breaks
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user