Realign emojis to avoid strange text alignment

This commit is contained in:
Sebastian Wolf 2020-11-26 14:44:02 +01:00
parent 90f7535fda
commit b31072ff82

View file

@ -54,10 +54,10 @@ function emojify(str, emojiSize) {
basePath, basePath,
iconId, iconId,
'.svg', '.svg',
'" align="middle" width="', '" align="bottom" width="',
emojiSize, Math.round(emojiSize * 6 / 5 ),
'" height="', '" height="',
emojiSize, Math.round(emojiSize * 6 / 5 ),
'"/>' '"/>'
); );
} }