fix: fonte grossa 18px bold no preview e impressao
Build Fechamento de Caixa / build (macos-14, app) (push) Has been cancelled
Build Fechamento de Caixa / build (ubuntu-22.04, deb) (push) Has been cancelled
Build Fechamento de Caixa / build (windows-2022, msi) (push) Has been cancelled

This commit is contained in:
root
2026-07-02 19:10:42 +00:00
parent 5f1d9a4e2f
commit d3d5c4fbca
+12 -12
View File
@@ -1795,21 +1795,21 @@ function openPrintPreview(data, mode) {
const previewStyle = ` const previewStyle = `
<style> <style>
body { width: 80mm; margin: 0 auto; font-family: 'Courier New', monospace; font-size: 13px; background: #fff; padding: 10px; } body { width: 80mm; margin: 0 auto; font-family: 'Courier New', monospace; font-size: 18px; background: #fff; padding: 10px; font-weight: bold; }
.header { text-align: center; margin-bottom: 8px; } .header { text-align: center; margin-bottom: 8px; }
.header h1 { font-size: 18px; } .header h1 { font-size: 24px; font-weight: bold; }
.header h2 { font-size: 14px; font-weight: normal; } .header h2 { font-size: 18px; font-weight: bold; }
hr { border: none; border-top: 1px dashed #000; margin: 6px 0; } hr { border: none; border-top: 1px dashed #000; margin: 6px 0; }
.section-title { font-weight: bold; font-size: 14px; border-top: 1px dashed #000; padding-top: 4px; margin-top: 6px; } .section-title { font-weight: bold; font-size: 17px; border-top: 1px dashed #000; padding-top: 4px; margin-top: 6px; }
.row { display: flex; justify-content: space-between; padding: 2px 0; } .row { display: flex; justify-content: space-between; padding: 2px 0; font-size: 16px; font-weight: bold; }
table { width: 100%; border-collapse: collapse; font-size: 12px; } table { width: 100%; border-collapse: collapse; font-size: 16px; font-weight: bold; }
td { padding: 2px 4px; vertical-align: top; } td { padding: 2px 4px; vertical-align: top; font-weight: bold; }
td:nth-child(2) { text-align: right; } td:nth-child(2) { text-align: right; }
td:nth-child(3) { text-align: right; color: #555; font-size: 11px; } td:nth-child(3) { text-align: right; color: #555; font-size: 13px; }
.grand-total { font-size: 16px; font-weight: bold; text-align: center; padding: 6px; border: 2px solid #000; margin: 8px 0; } .grand-total { font-size: 20px; font-weight: bold; text-align: center; padding: 6px; border: 2px solid #000; margin: 8px 0; }
.obs { font-size: 11px; color: #555; margin-top: 6px; white-space: pre-wrap; } .obs { font-size: 13px; color: #555; margin-top: 6px; white-space: pre-wrap; font-weight: normal; }
.footer { text-align: center; font-size: 11px; color: #555; margin-top: 8px; } .footer { text-align: center; font-size: 13px; color: #555; margin-top: 8px; font-weight: normal; }
@media print { body { background: #fff; } } @media print { body { background: #fff; font-size: 18px !important; font-weight: bold !important; } }
</style> </style>
`; `;