set height: auto on #site for print

avoids truncating printed output
This commit is contained in:
Min RK 2015-01-26 17:23:10 -08:00
parent 1eddad8a63
commit 87758e0c77
2 changed files with 9 additions and 0 deletions

View File

@ -89,6 +89,10 @@ body {
display: none;
.border-box-sizing();
overflow: auto;
@media print {
// force auto-height on print (overrides manual resizing in live view)
height: auto !important;
}
}
/* Smaller buttons */

View File

@ -8466,6 +8466,11 @@ body {
-webkit-box-sizing: border-box;
overflow: auto;
}
@media print {
#site {
height: auto !important;
}
}
/* Smaller buttons */
.ui-button .ui-button-text {
padding: 0.2em 0.8em;