CSS: Only show preview pane to printer
This commit is contained in:
parent
1d7308ebaa
commit
2751892e12
@ -1375,3 +1375,29 @@ div.jGrowl {
|
|||||||
.box-shadow(none);
|
.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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user