From b35406b700e643c50ac9726e5f5e1650604e0879 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Wed, 20 Sep 2017 03:38:38 +0200 Subject: [PATCH] Fix custom emojis with non-1:1 aspect ratio being stretched (#5017) --- app/javascript/styles/components.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/app/javascript/styles/components.scss b/app/javascript/styles/components.scss index 31341fd0..1e24592c 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;