From eee35bdc727245899affd11eadbfd948434600b0 Mon Sep 17 00:00:00 2001 From: kedamaDQ Date: Sat, 19 Oct 2024 14:19:17 +0900 Subject: [PATCH] Try to display wide custom emojis This commit only affects the text within the status-content. --- app/javascript/styles/mastodon/components.scss | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss index e2389cbfb2ea6b..fa864be0fb3d63 100644 --- a/app/javascript/styles/mastodon/components.scss +++ b/app/javascript/styles/mastodon/components.scss @@ -1002,7 +1002,8 @@ body > [data-popper-placement] { vertical-align: middle; object-fit: contain; margin: -0.2ex 0.15em 0.2ex; - width: 16px; + min-width: 16px; + max-width: 100%; height: 16px; img { @@ -1044,7 +1045,8 @@ body > [data-popper-placement] { } .emojione { - width: 20px; + min-width: 20px; + max-width: 100%; height: 20px; margin: -3px 0 0; } @@ -1737,7 +1739,8 @@ body > [data-popper-placement] { line-height: 24px; .emojione { - width: 24px; + min-width: 24px; + max-width: 100%; height: 24px; margin: -1px 0 0; }