Realign emojis to avoid strange text alignment
This commit is contained in:
parent
90f7535fda
commit
b31072ff82
1 changed files with 4 additions and 4 deletions
|
@ -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 ),
|
||||||
'"/>'
|
'"/>'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue