Add some special CSS to improve printing a nextmatch

- Try not to break rows across page
This commit is contained in:
Nathan Gray 2014-04-08 20:26:06 +00:00
parent 22dfe2a5db
commit a06e408bbd

View File

@ -987,6 +987,21 @@ div.message.floating {
background-color: gray;
opacity: 0.5;
}
@media print {
/** Keeps rows from breaking */
.et2_nextmatch .egwGridView_grid > tbody > tr {
display: block;
}
.egwGridView_grid > tbody > tr {
page-break-inside: avoid;
-webkit-region-break-inside: avoid;
}
.et2_nextmatch > div {
width: 100% !important;
height: auto;
}
}
/**
* Grid / nextmatch Hierarchy
*/