removed QR barcode margins
gitea/salix/master This commit looks good
Details
gitea/salix/master This commit looks good
Details
This commit is contained in:
parent
ff292baecf
commit
f752404ebe
|
@ -13,7 +13,7 @@
|
||||||
.barcode h1 {
|
.barcode h1 {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 1.8em;
|
font-size: 1.8em;
|
||||||
margin: 0
|
margin: 0 0 10px 0
|
||||||
}
|
}
|
||||||
|
|
||||||
.barcode .image {
|
.barcode .image {
|
||||||
|
@ -21,7 +21,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.barcode .image img {
|
.barcode .image img {
|
||||||
width: 180px
|
width: 170px
|
||||||
}
|
}
|
||||||
|
|
||||||
.data {
|
.data {
|
||||||
|
|
|
@ -63,7 +63,7 @@ module.exports = {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
getBarcodeBase64(itemId) {
|
getBarcodeBase64(itemId) {
|
||||||
return qrcode.toDataURL(itemId);
|
return qrcode.toDataURL(itemId, {margin: 0});
|
||||||
},
|
},
|
||||||
packing() {
|
packing() {
|
||||||
const stems = this.item.stems ? this.item.stems : 1;
|
const stems = this.item.stems ? this.item.stems : 1;
|
||||||
|
|
Loading…
Reference in New Issue