From: Eugen Rochko Date: Wed, 20 Sep 2017 01:38:38 +0000 (+0200) Subject: Fix custom emojis with non-1:1 aspect ratio being stretched (#5017) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=b35406b700e643c50ac9726e5f5e1650604e0879;p=mastodon.git Fix custom emojis with non-1:1 aspect ratio being stretched (#5017) --- diff --git a/app/javascript/styles/components.scss b/app/javascript/styles/components.scss index 31341fd0a..1e24592c9 100644 --- a/app/javascript/styles/components.scss +++ b/app/javascript/styles/components.scss @@ -418,6 +418,7 @@ display: inline-block; font-size: inherit; vertical-align: middle; + object-fit: contain; margin: -.2ex .15em .2ex; width: 16px; height: 16px;