last print adjustments
This commit is contained in:
parent
7290d7272b
commit
eacf7c654c
2 changed files with 4 additions and 8 deletions
|
@ -14,6 +14,7 @@
|
|||
display: block;
|
||||
margin: 0 auto;
|
||||
object-fit: contain;
|
||||
border-radius: 0;
|
||||
}
|
||||
.recto .left,
|
||||
.verso .left,
|
||||
|
@ -212,8 +213,8 @@
|
|||
.indications,
|
||||
.indications2 {
|
||||
page-break-after: always;
|
||||
max-width: 210mm;
|
||||
max-height: 297mm;
|
||||
width: 210mm;
|
||||
height: 297mm;
|
||||
overflow: hidden;
|
||||
}
|
||||
.indications img,
|
||||
|
|
|
@ -132,12 +132,7 @@ document.addEventListener("DOMContentLoaded", function(event) {
|
|||
$.each( $('.selected'), function( key, value ) {
|
||||
content = content + "\n" +'{{include page="'+value.getAttribute('data-tag')+'"}}'
|
||||
});
|
||||
content = content + '""<div class="indications">'
|
||||
+ '<img src="custom/templates/bazar/assets/Instructions_pliage_recto.webp" alt="instructions recto" />'
|
||||
+ '</div>'
|
||||
+ '<div class="indications2">'
|
||||
+ '<img src="custom/templates/bazar/assets/Instructions_pliage_verso.webp" alt="instructions verso" />'
|
||||
+ '</div>""'
|
||||
content = content + "\n" + '{{include page="Instructions"}}'
|
||||
window.location.href = '/?wiki/render&print=1&content='+content+'&returnTo=<?php echo $GLOBALS['wiki']->href('', 'Merci'); ?>';
|
||||
return false;
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue