We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92e2b60 commit c8ed89bCopy full SHA for c8ed89b
1 file changed
overrides/print_cover.html
@@ -4,7 +4,11 @@
4
.print-cover-page {
5
page-break-after: always;
6
break-after: page;
7
- height: 100vh;
+ /* 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);
12
display: flex;
13
flex-direction: column;
14
justify-content: space-between;
0 commit comments