Large code
1 files changed, 6 insertions(+), 1 deletions(-) M index.html
M index.html +6 -1
@@ 54,6 54,11 @@ opacity: 0; } + .outputbox > img { + max-width: 100%; + max-height: 100vh; + } + .title { font-size: 16px; } @@ 85,7 90,7 @@ <script> var inputDom = document.querySelector(".js-qr-input") var outputDom = document.querySelector(".js-qr-output") - var qr = new QRCode(outputDom, { correctLevel: QRCode.CorrectLevel.L }) + var qr = new QRCode(outputDom, { correctLevel: QRCode.CorrectLevel.L, width: 1024, height: 1024 }) var runTimeout = null var debouncedRefreshCode = function() {