Misc fixes

This commit is contained in:
Alex Yatskov 2016-04-23 22:11:29 -07:00
parent 659bb87a59
commit 896cd7960c
2 changed files with 11 additions and 10 deletions

View File

@ -17,13 +17,14 @@
*/ */
iframe#yomichan-popup { iframe#yomichan-popup {
all: initial; all: initial;
border: 1px solid #999; background-color: #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, .5); border: 1px solid #999;
height: 250px; box-shadow: 0 0 10px rgba(0, 0, 0, .5);
position: fixed; height: 250px;
resize: both; position: fixed;
visibility: hidden; resize: both;
width: 400px; visibility: hidden;
z-index: 2147483647; width: 400px;
z-index: 2147483647;
} }

View File

@ -83,7 +83,7 @@ class Client {
searchAt(point) { searchAt(point) {
const range = Range.fromPoint(point); const range = Range.fromPoint(point);
if (range === null || !range.containsPoint(point)) { if (range === null || !range.containsPoint(point)) {
this.popup.hide(); this.hidePopup();
return; return;
} }