chat.html: bump QR canvas + render size 180px → 320px

This commit is contained in:
Russell Ballestrini 2026-05-27 19:02:46 -04:00
parent 9e67b05f2f
commit 0d1236e030

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