From 87d7ae576a81754be1354b6b5c77d00a0473a3bf Mon Sep 17 00:00:00 2001 From: eris Date: Wed, 3 Aug 2022 05:05:33 +0000 Subject: [PATCH] Fix emoji rendering --- src/components/rich_content/rich_content.scss | 2 +- src/components/still-image/still-image.vue | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/rich_content/rich_content.scss b/src/components/rich_content/rich_content.scss index db08ef1e..1a7ca8fb 100644 --- a/src/components/rich_content/rich_content.scss +++ b/src/components/rich_content/rich_content.scss @@ -49,7 +49,7 @@ } .emoji { - display: inline-block; + display: inline-flex; width: var(--emoji-size, 32px); height: var(--emoji-size, 32px); } diff --git a/src/components/still-image/still-image.vue b/src/components/still-image/still-image.vue index ab3080c8..e658133c 100644 --- a/src/components/still-image/still-image.vue +++ b/src/components/still-image/still-image.vue @@ -89,4 +89,9 @@ } } } +.still-image.emoji { + img { + height: unset; + } +}