diff --git a/src/public/stylesheets/print.css b/src/public/stylesheets/print.css index 3667e2c60..6e0591be6 100644 --- a/src/public/stylesheets/print.css +++ b/src/public/stylesheets/print.css @@ -227,4 +227,9 @@ blockquote { pre > code { widows: 6; orphans: 6; +} + +h1, h2, h3, h4, h5, h6 { + page-break-after: avoid; + break-after: avoid; } \ No newline at end of file