set min-height for pages when printing

This commit is contained in:
Amruth Pillai
2020-12-13 10:37:02 +05:30
parent a84cdf33cd
commit 96ab340b1c
2 changed files with 7 additions and 1 deletions

View File

@ -60,6 +60,11 @@ section {
}
@media print {
html,
body {
background-color: white;
}
html,
body,
body * {
@ -75,6 +80,7 @@ section {
#page {
width: 21cm;
min-height: 29.7cm;
position: absolute;
text-align: start;
top: 0;