We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3993a9 commit 394fb56Copy full SHA for 394fb56
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "print-toc",
3
- "version": "1.0.2",
+ "version": "1.0.3",
4
"description": "Generates a table of contents for a printed HTML document.",
5
"main": "dist/index.js",
6
"types": "dist/index.d.ts",
src/index.ts
@@ -8,7 +8,10 @@ const STYLES = `
8
margin-top: -1px;
9
}
10
.page {
11
+ position: relative;
12
+ page-break-after: auto;
13
page-break-inside: avoid;
14
+ display: block;
15
16
.break {
17
page-break-before: always;
0 commit comments