Skip to content

Commit 3d09f2b

Browse files
committed
Prevent card splitting: restore page-break-inside avoid for intact cards
1 parent 0e6f348 commit 3d09f2b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

checklist.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -501,6 +501,7 @@
501501
.container {
502502
max-width: none !important;
503503
padding: 0 !important;
504+
width: 100%;
504505
}
505506

506507
/* Use inches so it reliably fits inside Letter (7.5in printable width with 0.5in margins) */
@@ -510,12 +511,12 @@
510511
margin: 0 auto; /* centers on the page */
511512
}
512513

513-
/* Let cards break across pages so space is used more evenly */
514+
/* Never split cards across pages, keep them together */
514515
.scenario-card {
515516
border: 1px solid #000;
516517
margin-bottom: 0.5rem;
517-
page-break-inside: auto; /* was avoid */
518-
break-inside: auto;
518+
page-break-inside: avoid;
519+
break-inside: avoid;
519520
box-shadow: none !important;
520521
-webkit-print-color-adjust: exact !important;
521522
print-color-adjust: exact !important;

0 commit comments

Comments
 (0)