From 4e7bcb396921860e20be11b11432866600a8d279 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Thu, 7 Dec 2023 21:48:43 +0530 Subject: changed print format a bit --- src/views/ViewInvoice.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/views/ViewInvoice.vue') diff --git a/src/views/ViewInvoice.vue b/src/views/ViewInvoice.vue index 68857b4..5f2a783 100644 --- a/src/views/ViewInvoice.vue +++ b/src/views/ViewInvoice.vue @@ -74,7 +74,6 @@ onMounted(() => { font-size: 12pt !important; } #print-preview .sup { - display: none; } #print-preview table { width: 100%; @@ -88,9 +87,16 @@ onMounted(() => { #print-preview .invoice-summary { margin-top: auto !important; } +#print-preview .item-name-cell span { + max-width: 150pt !important; +} @media print { + body { + background-color: white; + } #print-preview { width: auto !important; + height: 100% !important; } #sidebar, #navbar, #print-button, .btn { display: none !important; -- cgit v1.2.3