Styling, switching port to one that is not likely to be used.
This commit is contained in:
parent
eaf5ded127
commit
aaf8bb43d1
@ -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}));
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user