summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-05-18 10:24:11 -0700
committerAlex Yatskov <alex@foosoft.net>2016-05-18 10:24:11 -0700
commitaaf8bb43d18013ea68674578cd5f720d4d2bd478 (patch)
tree01acbf20cb6199d37a19b59826c66ef5f3a69374
parenteaf5ded127338e5f8c64f085e31004190b941f3d (diff)
Styling, switching port to one that is not likely to be used.
-rw-r--r--ext/bg/js/yomichan.js2
-rw-r--r--ext/fg/css/frame.css3
2 files changed, 2 insertions, 3 deletions
diff --git a/ext/bg/js/yomichan.js b/ext/bg/js/yomichan.js
index ca53ebf9..1ebdd072 100644
--- a/ext/bg/js/yomichan.js
+++ b/ext/bg/js/yomichan.js
@@ -122,7 +122,7 @@ class Yomichan {
callback(resp ? JSON.parse(resp) : null);
});
- xhr.open('POST', 'http://127.0.0.1:8888');
+ xhr.open('POST', 'http://127.0.0.1:8765');
xhr.withCredentials = true;
xhr.setRequestHeader('Content-Type', 'text/json');
xhr.send(JSON.stringify({action: action, params: params}));
diff --git a/ext/fg/css/frame.css b/ext/fg/css/frame.css
index bd537561..ab49fb50 100644
--- a/ext/fg/css/frame.css
+++ b/ext/fg/css/frame.css
@@ -112,7 +112,7 @@ body {
/* kanji styles */
.kanji-glyph {
- float: left;
+ float: right;
font-family: kanji-stroke-orders;
font-size: 140px;
line-height: 140px;
@@ -137,4 +137,3 @@ body {
.kanji-info dd {
margin-left: 1.2em;
}
-