diff --git a/qml/js/twemoji.js b/qml/js/twemoji.js index 67f677c..054bb37 100644 --- a/qml/js/twemoji.js +++ b/qml/js/twemoji.js @@ -54,13 +54,13 @@ function emojify(str, emojiSize) { basePath, iconId, '.svg', - '" align="middle" width="', - emojiSize, + '" align="bottom" width="', + Math.round(emojiSize * 6 / 5 ), '" height="', - emojiSize, + Math.round(emojiSize * 6 / 5 ), '"/>' ); } return ret.replace(ampersandRe, "&"); }); -} \ No newline at end of file +}