setting perfect margins for labels
This commit is contained in:
parent
dee1fde60d
commit
538d43cf29
17
index.php
17
index.php
@ -4959,6 +4959,14 @@ document.addEventListener('DOMContentLoaded', function() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media print {
|
@media print {
|
||||||
|
@page {
|
||||||
|
size: A4;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
body.printing-avery {
|
||||||
|
margin: 0 !important;
|
||||||
|
padding: 0 !important;
|
||||||
|
}
|
||||||
body.printing-avery .sidebar,
|
body.printing-avery .sidebar,
|
||||||
body.printing-avery .topbar,
|
body.printing-avery .topbar,
|
||||||
body.printing-avery .modal-header,
|
body.printing-avery .modal-header,
|
||||||
@ -4984,14 +4992,21 @@ document.addEventListener('DOMContentLoaded', function() {
|
|||||||
body.printing-avery .modal-content {
|
body.printing-avery .modal-content {
|
||||||
border: none !important;
|
border: none !important;
|
||||||
}
|
}
|
||||||
|
body.printing-avery .modal-body {
|
||||||
|
padding: 0 !important;
|
||||||
|
margin: 0 !important;
|
||||||
|
}
|
||||||
body.printing-avery .avery-label {
|
body.printing-avery .avery-label {
|
||||||
border: none !important;
|
border: none !important;
|
||||||
}
|
}
|
||||||
.avery-container {
|
.avery-container {
|
||||||
margin: 0 !important;
|
margin: 0 !important;
|
||||||
padding: 10mm 5mm !important;
|
padding: 4mm 5mm !important;
|
||||||
|
gap: 1mm !important;
|
||||||
box-shadow: none !important;
|
box-shadow: none !important;
|
||||||
border: none !important;
|
border: none !important;
|
||||||
|
max-height: 297mm !important;
|
||||||
|
overflow: hidden !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user