Fix extra blank page when printing single label
Removed page-break-after: always and reset html/body height to auto so the print renderer doesn't generate a trailing empty page. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -71,10 +71,15 @@
|
||||
}
|
||||
@media print {
|
||||
.no-print { display: none !important; }
|
||||
:global(html), :global(body) {
|
||||
margin: 0 !important;
|
||||
padding: 0 !important;
|
||||
height: auto !important;
|
||||
min-height: 0 !important;
|
||||
}
|
||||
.label {
|
||||
border: none !important;
|
||||
margin: 0 !important;
|
||||
page-break-after: always;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -71,10 +71,15 @@
|
||||
}
|
||||
@media print {
|
||||
.no-print { display: none !important; }
|
||||
:global(html), :global(body) {
|
||||
margin: 0 !important;
|
||||
padding: 0 !important;
|
||||
height: auto !important;
|
||||
min-height: 0 !important;
|
||||
}
|
||||
.label {
|
||||
border: none !important;
|
||||
margin: 0 !important;
|
||||
page-break-after: always;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user