aboutsummaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-03-28 19:53:55 -0700
committerAlex Yatskov <alex@foosoft.net>2016-03-28 19:53:55 -0700
commitbaec1dd58a8bd1bc1816e2cb2340cbd6587da271 (patch)
treedf5886ab42719684bef01f6255177ae1f4906e7b /ext
parenta8c7a8602fff55df8279b9f56dfece875005a7fa (diff)
Fixes
Diffstat (limited to 'ext')
-rw-r--r--ext/client.css4
-rw-r--r--ext/client.js1
2 files changed, 4 insertions, 1 deletions
diff --git a/ext/client.css b/ext/client.css
index ffc93be2..939fb81a 100644
--- a/ext/client.css
+++ b/ext/client.css
@@ -26,7 +26,9 @@
font-size: 1em;
max-height: 25em;
max-width: 35em;
- overflow-y: scroll;
+ min-height: 10em;
+ min-width: 15em;
+ overflow-y: auto;
padding: 10px;
position: fixed;
visibility: hidden;
diff --git a/ext/client.js b/ext/client.js
index 2812971c..6d082909 100644
--- a/ext/client.js
+++ b/ext/client.js
@@ -31,6 +31,7 @@ class Client {
window.addEventListener('mousemove', this.onMouseMove.bind(this));
window.addEventListener('keydown', this.onKeyDown.bind(this));
this.popup.mousedown((e) => e.stopPropagation());
+ this.popup.scroll((e) => e.stopPropagation());
getState((state) => this.setEnabled(state === 'enabled'));
}