From 2bb0e23b5819175693d4047847a8f6a2b5bb0585 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Sat, 11 Jun 2022 15:33:46 -0500 Subject: [PATCH] Update: Apply custom print break hints. I'm not sure how useful this is going to be. Provide hints to encourage not breaking after a section or subsection heading when printing. --- css/kevux-print.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/css/kevux-print.css b/css/kevux-print.css index a6ad72f..1ff6452 100644 --- a/css/kevux-print.css +++ b/css/kevux-print.css @@ -17,6 +17,12 @@ margin-bottom: 8px; } +.kevux > .content-block .section > .header, +.kevux > .content-block .subsection > .header { + break-before: auto; + break-after: avoid-page; +} + .kevux > .content-block .image.content { display: block; -- 1.8.3.1