fixing recipts in sales
This commit is contained in:
@@ -253,5 +253,20 @@
|
||||
.invoice-sheet th {
|
||||
break-inside: avoid;
|
||||
}
|
||||
|
||||
/* SalesInvoicePrintPreview portals a print copy of the sheet into <body>; while it's there,
|
||||
print only that copy — not the app, the on-screen preview, or an open dialog. */
|
||||
body:has(> .invoice-print-root) > :not(.invoice-print-root) {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.invoice-print-root {
|
||||
display: block !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* The print copy never shows on screen. */
|
||||
.invoice-print-root {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user