Skip to content

Commit c8ed89b

Browse files
committed
adapt cover page layout to © on same page
1 parent 92e2b60 commit c8ed89b

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

overrides/print_cover.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44
.print-cover-page {
55
page-break-after: always;
66
break-after: page;
7-
height: 100vh;
7+
/* In Chrome's paged context `100vh` is the full page box, including the
8+
`@page { margin: 25mm }` set by print-site-material.css. Subtract those
9+
top+bottom margins so the cover fits the printable area — otherwise the
10+
footer (copyright line) overflows onto a second page. */
11+
height: calc(100vh - 50mm);
812
display: flex;
913
flex-direction: column;
1014
justify-content: space-between;

0 commit comments

Comments
 (0)