Improve the output of printed pages to pdf

This commit is contained in:
Manuel Cillero 2017-10-01 20:55:21 +02:00
parent 39729c5f8e
commit 2e20b06d22
3 changed files with 10 additions and 8 deletions

View file

@ -1212,25 +1212,25 @@ div.field-items img.imagefield[class$="_image"] {
width: auto\9; /* IE8 */
}
@media (max-width: 889px) {
div.stormfields {
body:not(.print-pdf) div.stormfields {
margin-bottom: 0;
}
div.stormfields div.label,
body.suitedesk div.field-label {
body:not(.print-pdf) div.stormfields div.label,
body:not(.print-pdf).suitedesk div.field-label {
float: none;
width: auto;
line-height: 1.2em;
}
div.stormfields div.value,
body.suitedesk div.field-items {
body:not(.print-pdf) div.stormfields div.value,
body:not(.print-pdf).suitedesk div.field-items {
margin-left: 0;
margin-right: 44%;
line-height: 2em;
}
}
@media (max-width: 529px) {
div.stormfields div.value,
body.suitedesk div.field-items {
body:not(.print-pdf) div.stormfields div.value,
body:not(.print-pdf).suitedesk div.field-items {
margin-right: 0;
}
} /*