From 45431ef50468793c5fc93254c2568bd6656e495b Mon Sep 17 00:00:00 2001 From: Piotrek Tomczewski Date: Sun, 22 Jan 2023 14:41:56 +0100 Subject: [PATCH] fix: rendering of high emoji (#1352) fix: #1350 --- styles/global.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/styles/global.css b/styles/global.css index f70ad0dc..42422eae 100644 --- a/styles/global.css +++ b/styles/global.css @@ -36,10 +36,13 @@ body { .custom-emoji { display: inline-block; - overflow: hidden; + vertical-align: text-bottom; +} + +.custom-emoji img { max-height: 1.3em; max-width: 1.3em; - vertical-align: text-bottom; + object-fit: contain; } .iconify-emoji {