diff options
author | cyfraeviolae <cyfraeviolae> | 2022-02-28 10:13:24 -0500 |
---|---|---|
committer | cyfraeviolae <cyfraeviolae> | 2022-02-28 10:13:24 -0500 |
commit | af295875ee2cf61bd43984acd69addcd0abf9cd7 (patch) | |
tree | c36174eee2054a92c8ac3dce8653bf7a2755b47a /static | |
parent | e11dd620acdb509a19e68c4a3f86e53ae2816312 (diff) |
updates
Diffstat (limited to 'static')
-rw-r--r-- | static/script.js | 3 | ||||
-rw-r--r-- | static/styles.css | 14 |
2 files changed, 6 insertions, 11 deletions
diff --git a/static/script.js b/static/script.js index 16296a2..325b8e5 100644 --- a/static/script.js +++ b/static/script.js @@ -205,6 +205,9 @@ function keyHandler(key) { return; } var el = document.querySelector(`[data-offset="${focused}"]`); + if (!el.classList.contains('entrybox')) { + return; + } var offset = parseInt(el.getAttribute('data-offset')) var nextel; if (key == 'Backspace') { diff --git a/static/styles.css b/static/styles.css index 94e3b89..2c0f0ef 100644 --- a/static/styles.css +++ b/static/styles.css @@ -11,7 +11,7 @@ color: black; background-color: white; vertical-align: top; - line-height: 29px; + line-height: 30px; font-family: Cantarell; } @@ -81,15 +81,6 @@ hr { touch-action: manipulation; } -@media only screen and (min-width: 600px) { - form { - border: 1px DarkSlateGrey solid; - padding: 1em; - padding-left: 2em; - padding-right: 2em; - } -} - .kbrow { margin-bottom: 5px; } @@ -101,10 +92,11 @@ hr { width: 26px; border-radius: 4px; border: 1px black dotted; - line-height: 33px; + line-height: 35px; cursor: pointer; user-select: none; } + .key:hover{ border-style:solid; } |