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,
|
||||
iconId,
|
||||
'.svg',
|
||||
'" align="middle" width="',
|
||||
emojiSize,
|
||||
'" align="bottom" width="',
|
||||
Math.round(emojiSize * 6 / 5 ),
|
||||
'" height="',
|
||||
emojiSize,
|
||||
Math.round(emojiSize * 6 / 5 ),
|
||||
'"/>'
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue