No trailing blank print page: cancel page-break-after on the last/only printed design

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-08-27 08:48:26 -05:00
parent e83f2543fd
commit a8f3a1290e
+3
View File
@@ -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}
}
</style></head>
<body>