From: Kevin Day Date: Sat, 11 Jun 2022 20:33:46 +0000 (-0500) Subject: Update: Apply custom print break hints. X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=2bb0e23b5819175693d4047847a8f6a2b5bb0585;p=kevux.org-website 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. --- 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;