fix css print?

This commit is contained in:
Florian Schmitt 2025-02-10 17:36:21 +03:00
parent 9de86a18f7
commit 54831e633c

View file

@ -19,10 +19,11 @@
} }
.indications img, .indications img,
.indications2 img { .indications2 img {
width: 182mm; width: 185mm;
height: 260mm; height: 265mm;
display: block; display: block;
margin: 0 auto; margin: 0 auto;
object-fit: contain;
} }
.recto .left, .recto .left,
.verso .left, .verso .left,
@ -180,6 +181,8 @@
@media print { @media print {
@page { @page {
size: A4 portrait; size: A4 portrait;
width: 210mm;
height: 297mm;
margin: 0; margin: 0;
} }
@ -200,6 +203,7 @@
#yw-header, #yw-header,
#yw-footer, #yw-footer,
.filters-col, .filters-col,
.clearfix,
.debug, .debug,
.BAZ_fiche_info, .BAZ_fiche_info,
.embed-responsive, .embed-responsive,
@ -211,13 +215,21 @@
border: none; border: none;
} }
#yw-main { #yw-main {
padding: 0; padding: 0 !important;
--padding-x: 0;
}
.full-portrait-a4 {
page-break-after: always;
max-width: 210mm;
max-height: 297mm;
overflow: hidden;
} }
.indications img, .indications img,
.indications2 img { .indications2 img {
width: 182mm; width: 185mm;
height: 260mm; height: 260mm;
display: block; display: block;
margin: 0 auto; margin: 0 auto;
object-fit: contain;
} }
} }