From a63b99f68714a0ef90268bc9fda7deb41a0b2ff7 Mon Sep 17 00:00:00 2001 From: Kerry Date: Fri, 20 Oct 2023 15:41:53 +1300 Subject: [PATCH] Revert "remove problematic big emoji style (#11757)" (#11774) This reverts commit eb7ce666b748a65cdd6fa322f8d62d0f46d4b82a. --- res/css/views/elements/_RichText.pcss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/res/css/views/elements/_RichText.pcss b/res/css/views/elements/_RichText.pcss index 7840e99260..b85eb8357e 100644 --- a/res/css/views/elements/_RichText.pcss +++ b/res/css/views/elements/_RichText.pcss @@ -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; +}