zebra-report: larger QR (320px)
This commit is contained in:
parent
6845ecd3d3
commit
9303d5e97f
1 changed files with 2 additions and 2 deletions
|
|
@ -139,7 +139,7 @@
|
|||
}
|
||||
.share-box .url-side { min-width: 0; }
|
||||
.share-box .qr-canvas {
|
||||
width: 180px; height: 180px;
|
||||
width: 320px; height: 320px;
|
||||
border: 1px solid #ccc; background: #fff;
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
font-size: 0.65rem; color: #999;
|
||||
|
|
@ -550,7 +550,7 @@ function renderQR(containerId, text) {
|
|||
if (!el) return;
|
||||
el.innerHTML = '';
|
||||
try {
|
||||
new QRCode(el, { text, width: 180, height: 180, correctLevel: QRCode.CorrectLevel.L });
|
||||
new QRCode(el, { text, width: 320, height: 320, correctLevel: QRCode.CorrectLevel.L });
|
||||
} catch (e) {
|
||||
el.textContent = 'QR too long (' + text.length + ' chars). use the copy link button.';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue