Make CV pages fill A4 edge-to-edge in print
All checks were successful
Build & Deploy / build-and-deploy (push) Successful in 25s

Drop the 8mm page padding and extend frame to full 297mm in @media print
so the footer is no longer clipped on the short CV and the white band
around each page disappears.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
ordinarthur 2026-05-13 05:55:13 +02:00
parent a9f79ee208
commit 2450661f96
2 changed files with 4 additions and 1 deletions

View File

@ -463,7 +463,8 @@
overflow: hidden; overflow: hidden;
} }
.page:last-child { page-break-after: auto; break-after: auto; } .page:last-child { page-break-after: auto; break-after: auto; }
.frame { height: calc(297mm - 16mm); } .page { padding: 0; }
.frame { height: 297mm; border: none; }
.row, article, .section-header, .topbar, .hero { page-break-inside: avoid; break-inside: avoid; } .row, article, .section-header, .topbar, .hero { page-break-inside: avoid; break-inside: avoid; }
/* Global print compaction — all pages */ /* Global print compaction — all pages */

View File

@ -355,11 +355,13 @@
.page { .page {
width: 210mm; width: 210mm;
height: 297mm; height: 297mm;
padding: 0;
page-break-after: auto; page-break-after: auto;
break-after: auto; break-after: auto;
margin: 0; margin: 0;
overflow: hidden; overflow: hidden;
} }
.frame { height: 297mm; border: none; }
.print-btn, .switch-btn, .lang-toggle { display: none !important; } .print-btn, .switch-btn, .lang-toggle { display: none !important; }
a { color: inherit; } a { color: inherit; }
} }