From aaf8bb43d18013ea68674578cd5f720d4d2bd478 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Wed, 18 May 2016 10:24:11 -0700 Subject: [PATCH] Styling, switching port to one that is not likely to be used. --- ext/bg/js/yomichan.js | 2 +- ext/fg/css/frame.css | 3 +-- 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; } -