Styling, switching port to one that is not likely to be used.

This commit is contained in:
Alex Yatskov 2016-05-18 10:24:11 -07:00
parent eaf5ded127
commit aaf8bb43d1
2 changed files with 2 additions and 3 deletions

View File

@ -122,7 +122,7 @@ class Yomichan {
callback(resp ? JSON.parse(resp) : null); 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.withCredentials = true;
xhr.setRequestHeader('Content-Type', 'text/json'); xhr.setRequestHeader('Content-Type', 'text/json');
xhr.send(JSON.stringify({action: action, params: params})); xhr.send(JSON.stringify({action: action, params: params}));

View File

@ -112,7 +112,7 @@ body {
/* kanji styles */ /* kanji styles */
.kanji-glyph { .kanji-glyph {
float: left; float: right;
font-family: kanji-stroke-orders; font-family: kanji-stroke-orders;
font-size: 140px; font-size: 140px;
line-height: 140px; line-height: 140px;
@ -137,4 +137,3 @@ body {
.kanji-info dd { .kanji-info dd {
margin-left: 1.2em; margin-left: 1.2em;
} }