diff --git a/index.html b/index.html index 53b69d7..fd43c16 100644 --- a/index.html +++ b/index.html @@ -7,6 +7,7 @@ +
@@ -38,8 +39,9 @@ white-space: pre-wrap; word-break: break-all; font-family: 'Courier New', Courier, monospace; - height: 450px; - width: 600px; + line-height: 18px; + height: 24em; + width: 64ch; position: relative; overflow: hidden; user-select: none; @@ -59,6 +61,11 @@ opacity: .8; } + #input { + pointer-events: none; + opacity: 0; + } + @keyframes blink { 0%, 49% { color: var(--foreground-color); @@ -88,6 +95,10 @@ window.addEventListener('resize', scale); scale(); + + document.getElementById("input").addEventListener("change", ev => { + ev.target.value = "" + })