removed QR barcode margins
gitea/salix/master This commit looks good Details

This commit is contained in:
Joan Sanchez 2019-10-21 11:33:40 +02:00
parent ff292baecf
commit f752404ebe
2 changed files with 3 additions and 3 deletions

View File

@ -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 {

View File

@ -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;