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 {
all: initial;
border: 1px solid #999;
box-shadow: 0 0 10px rgba(0, 0, 0, .5);
height: 250px;
position: fixed;
resize: both;
visibility: hidden;
width: 400px;
z-index: 2147483647;
all: initial;
background-color: #fff;
border: 1px solid #999;
box-shadow: 0 0 10px rgba(0, 0, 0, .5);
height: 250px;
position: fixed;
resize: both;
visibility: hidden;
width: 400px;
z-index: 2147483647;
}

View File

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