CSS: Only show preview pane to printer

This commit is contained in:
Daniel Hug 2014-04-19 00:02:03 -07:00
parent 1d7308ebaa
commit 2751892e12

View File

@ -1375,3 +1375,29 @@ div.jGrowl {
.box-shadow(none);
}
}
/**************************************
* Only show preview pane to printer
**************************************/
@media print {
html, body, .preview-container {
overflow: visible !important;
}
body > :not(.preview-container) {
display: none !important;
}
.preview-container {
width: auto !important;
height: auto !important;
position: static !important;
}
#preview-contents {
max-width: none !important;
margin-bottom: 0 !important;
}
}