From 9bf9a1a1eb2a47ea79313b274f64651db9d99462 Mon Sep 17 00:00:00 2001 From: Sebastian Wolf Date: Sun, 17 Jan 2021 11:56:56 +0100 Subject: [PATCH] Tweak emoji size a bit... --- qml/js/twemoji.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qml/js/twemoji.js b/qml/js/twemoji.js index 3806570..3255d3c 100644 --- a/qml/js/twemoji.js +++ b/qml/js/twemoji.js @@ -51,10 +51,10 @@ function emojify(str, emojiSize) { basePath, iconId, '.svg', - '" align="bottom" width="', - Math.round(emojiSize * 6 / 5 ), + '" align="middle" width="', + Math.round(emojiSize * 1.15 ), '" height="', - Math.round(emojiSize * 6 / 5 ), + Math.round(emojiSize * 1.15 ), '"/>' ) : rawText; }