aboutsummaryrefslogtreecommitdiff
path: root/src/views
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2023-12-07 21:48:43 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2023-12-07 21:48:43 +0530
commit4e7bcb396921860e20be11b11432866600a8d279 (patch)
tree17d594413d44545180840ad8becc0007e8745654 /src/views
parenta7ebd2b9034d7b016d77703482ff9f474e5cf2bc (diff)
changed print format a bit
Diffstat (limited to 'src/views')
-rw-r--r--src/views/ViewInvoice.vue8
1 files changed, 7 insertions, 1 deletions
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;