From a8f3a1290ee15724844504c1955a83f5429a3ea9 Mon Sep 17 00:00:00 2001 From: martbost Date: Thu, 27 Aug 2026 08:48:26 -0500 Subject: [PATCH] No trailing blank print page: cancel page-break-after on the last/only printed design Co-Authored-By: Claude Fable 5 --- public/flyers.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/flyers.html b/public/flyers.html index bed70a1..0d018c9 100644 --- a/public/flyers.html +++ b/public/flyers.html @@ -68,6 +68,9 @@ .hs-copy{display:flex} .hs-cut{display:flex;justify-content:center;align-items:center;gap:8px;border-top:2.5px dashed #98a2ad;font-size:10px;color:#667;padding:2px 0;background:#fff} body.print-one .fl:not(.printing),body.print-one .hs-page:not(.printing){display:none!important} + /* no break after whatever prints last — a trailing always-break emits a blank page */ + #halfsheets .hs-page:last-child{page-break-after:auto} + body.print-one .fl.printing,body.print-one .hs-page.printing{page-break-after:auto!important} }