From e050d8432acca299e7050102f906a84ae0c1160e Mon Sep 17 00:00:00 2001 From: Robin Date: Thu, 5 May 2022 20:16:05 -0400 Subject: [PATCH] Enlarge emoji again (#8509) * Enlarge emoji again * Use font variable --- res/css/views/elements/_RichText.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/res/css/views/elements/_RichText.scss b/res/css/views/elements/_RichText.scss index a40eb87c7f..4f0b532c6b 100644 --- a/res/css/views/elements/_RichText.scss +++ b/res/css/views/elements/_RichText.scss @@ -35,3 +35,10 @@ .mx_Markdown_STRIKETHROUGH { text-decoration: line-through; } + +.mx_Emoji { + // Should be 1.8rem for our default message bodies, and scale with the + // surrounding text + font-size: max($font-18px, 1em); + vertical-align: bottom; +}