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,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, "&");
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue