Skip to content
This repository has been archived by the owner on Oct 17, 2019. It is now read-only.

Commit

Permalink
fix: フォントサイズ変更で絵文字が反映されない
Browse files Browse the repository at this point in the history
  • Loading branch information
nzws committed Sep 3, 2018
1 parent c04b9d0 commit 363413b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion www/js/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,14 @@ function renderFontConfig() {
}
if (getConfig(1, 'font_body')) {
var f = 28 * (parseInt(getConfig(1, 'font_body')) * 0.01);
css += '.toot_content > p { font-size: ' + f + 'px; }';
css +=
'.toot_content > p { font-size: ' +
f +
'px; } .toot_content .emoji, .toot_content .emojione { height: ' +
(f + 6) +
'px !important; width: ' +
(f + 6) +
'px !important; }';
}
}
elemId('font-config').innerHTML = css;
Expand Down

0 comments on commit 363413b

Please sign in to comment.