mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-22 23:11:12 +02:00
Use the correct line-height for bold emoji
This avoids marking messages detected as big emoji with `markdown-body` so that they get the correct line-height. Fixes https://github.com/vector-im/riot-web/issues/9808
This commit is contained in:
parent
e44f3b65e6
commit
ab4dfd8d1b
@ -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 ?
|
||||
|
Loading…
x
Reference in New Issue
Block a user