From b2c1a4ddefb16107ed2093aaab6789f783ee06bf Mon Sep 17 00:00:00 2001 From: patak Date: Mon, 24 Apr 2023 07:19:29 +0200 Subject: [PATCH] fix: emoji sizing (#2007) --- styles/global.css | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/styles/global.css b/styles/global.css index 6338e54e..81e64992 100644 --- a/styles/global.css +++ b/styles/global.css @@ -34,25 +34,17 @@ body { display: none; } -.custom-emoji { - display: inline-block; - vertical-align: text-bottom; -} - .content-editor img.custom-emoji, -.custom-emoji img { - max-height: 1.3em; - max-width: 1.3em; - object-fit: contain; -} - +.custom-emoji img, .iconify-emoji { display: inline-block; + height: 1.2em; + width: 1.2em; + margin-right: 0.075em; + margin-left: 0.075em; + object-fit: contain; overflow: hidden; - max-height: 1.2em; - max-width: 1.2em; - vertical-align: text-bottom; - margin: 0 0.1em; + vertical-align: -20%; } .iconify-emoji-padded {