zebra-report: larger QR (320px)

This commit is contained in:
russell@unturf.com 2026-05-27 19:03:56 -04:00
parent 6845ecd3d3
commit 9303d5e97f

View file

@ -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.';
}