aboutsummaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/fg/css/client.css19
-rw-r--r--ext/fg/js/client.js2
2 files changed, 11 insertions, 10 deletions
diff --git a/ext/fg/css/client.css b/ext/fg/css/client.css
index aefc2187..29871daf 100644
--- a/ext/fg/css/client.css
+++ b/ext/fg/css/client.css
@@ -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;
}
diff --git a/ext/fg/js/client.js b/ext/fg/js/client.js
index 303f959b..f15519c9 100644
--- a/ext/fg/js/client.js
+++ b/ext/fg/js/client.js
@@ -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;
}