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 {
|
||||
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 {
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue