diff --git a/print/report/rpt-item-label/assets/css/style.css b/print/report/rpt-item-label/assets/css/style.css index 98a3ec721..1101604b9 100644 --- a/print/report/rpt-item-label/assets/css/style.css +++ b/print/report/rpt-item-label/assets/css/style.css @@ -13,7 +13,7 @@ .barcode h1 { text-align: center; font-size: 1.8em; - margin: 0 + margin: 0 0 10px 0 } .barcode .image { @@ -21,7 +21,7 @@ } .barcode .image img { - width: 180px + width: 170px } .data { diff --git a/print/report/rpt-item-label/index.js b/print/report/rpt-item-label/index.js index 7e6a61351..922965eb0 100755 --- a/print/report/rpt-item-label/index.js +++ b/print/report/rpt-item-label/index.js @@ -63,7 +63,7 @@ module.exports = { }); }, getBarcodeBase64(itemId) { - return qrcode.toDataURL(itemId); + return qrcode.toDataURL(itemId, {margin: 0}); }, packing() { const stems = this.item.stems ? this.item.stems : 1;