diff --git a/templates/bazar/assets/activites.css b/templates/bazar/assets/activites.css index 318f799..40169c5 100644 --- a/templates/bazar/assets/activites.css +++ b/templates/bazar/assets/activites.css @@ -19,10 +19,11 @@ } .indications img, .indications2 img { - width: 182mm; - height: 260mm; + width: 185mm; + height: 265mm; display: block; margin: 0 auto; + object-fit: contain; } .recto .left, .verso .left, @@ -180,6 +181,8 @@ @media print { @page { size: A4 portrait; + width: 210mm; + height: 297mm; margin: 0; } @@ -200,6 +203,7 @@ #yw-header, #yw-footer, .filters-col, + .clearfix, .debug, .BAZ_fiche_info, .embed-responsive, @@ -211,13 +215,21 @@ border: none; } #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, .indications2 img { - width: 182mm; + width: 185mm; height: 260mm; display: block; margin: 0 auto; + object-fit: contain; } }