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')); }