You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03: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:
@@ -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 ?
|
||||
|
||||
Reference in New Issue
Block a user