summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorcyfraeviolae <cyfraeviolae>2022-02-28 10:13:24 -0500
committercyfraeviolae <cyfraeviolae>2022-02-28 10:13:24 -0500
commitaf295875ee2cf61bd43984acd69addcd0abf9cd7 (patch)
treec36174eee2054a92c8ac3dce8653bf7a2755b47a /static
parente11dd620acdb509a19e68c4a3f86e53ae2816312 (diff)
updates
Diffstat (limited to 'static')
-rw-r--r--static/script.js3
-rw-r--r--static/styles.css14
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;
}