# HG changeset patch # User nanaya # Date 1726069610 -32400 # Node ID c582629d15e7622dc7ec4de1a57ee977100a4b59 # Parent d6a6c128cd5ae7db1f259163e1b0816035f87589 Fix display on mobile diff -r d6a6c128cd5a -r c582629d15e7 index.html --- a/index.html Wed Sep 11 21:28:26 2024 +0900 +++ b/index.html Thu Sep 12 00:46:50 2024 +0900 @@ -52,7 +52,7 @@ } .outputbox > canvas { - display: none; + max-width: 100%; } .outputbox > img { @@ -96,9 +96,9 @@ var text = inputDom.value if (text === "") { - outputDom.style.display = 'none'; + outputDom.style.opacity = 0; } else { - outputDom.style.display = 'block'; + outputDom.style.opacity = ''; qr.makeCode(text) } }