Misc fixes
This commit is contained in:
parent
659bb87a59
commit
896cd7960c
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user