enhance print page break

This commit is contained in:
Reorx 2023-02-11 02:53:13 +08:00
parent 27da04fed0
commit 4dccffeaae
1 changed files with 7 additions and 1 deletions

View File

@ -28,8 +28,14 @@ body {
} }
} }
.section-title,
h3 {
break-after: avoid;
page-break-after: avoid;
}
.page-unit, .page-unit,
.section-item { .section-item {
break-inside: avoid;
page-break-inside: avoid; page-break-inside: avoid;
page-break-after: auto;
} }