Merge pull request #3022 from matrix-org/jryans/big-bold-emoji

Use the correct line-height for bold emoji
This commit is contained in:
J. Ryan Stinnett 2019-05-23 10:42:26 +01:00 committed by GitHub
commit 2f7e31119f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -469,7 +469,7 @@ export function bodyToHtml(content, highlights, opts={}) {
const className = classNames({
'mx_EventTile_body': true,
'mx_EventTile_bigEmoji': emojiBody,
'markdown-body': isHtmlMessage,
'markdown-body': isHtmlMessage && !emojiBody,
});
return isDisplayedWithHtml ?