From 6b36ed89aeaa458467e0bdc6959bb5e1cf33e414 Mon Sep 17 00:00:00 2001 From: "suherdy.yacob@mapan.co.id" Date: Tue, 8 Apr 2025 16:19:41 +0700 Subject: [PATCH] change some margin and padding in receipt --- .../static/src/css/pos_receipt_custom.css | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/custom_pos_receipt/static/src/css/pos_receipt_custom.css b/custom_pos_receipt/static/src/css/pos_receipt_custom.css index 53d2bf5..f1b1e27 100644 --- a/custom_pos_receipt/static/src/css/pos_receipt_custom.css +++ b/custom_pos_receipt/static/src/css/pos_receipt_custom.css @@ -2,6 +2,10 @@ width: 512px; font-size: 12px !important; color: #000000; + padding-top: 0px !important; + padding-bottom: 0px !important; + margin-top: 0px !important; + margin-bottom: 0px !important; } .pos-receipt .pos-receipt-right-align { @@ -98,8 +102,10 @@ } .styled-receipt { - padding: 2px !important; + padding-top: 0px !important; padding-bottom: 0px !important; + margin-top: 0px !important; + margin-bottom: 0px !important; } .pos-receipt .order-container { @@ -107,5 +113,10 @@ } .pos-receipt .order-summary { - font-size: 11px !important; + font-size: 10px !important; } + +@media print { + @page { margin: 0; } + body { margin: 0.1cm; } +} \ No newline at end of file