about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-09-20 03:38:38 +0200
committerGitHub <noreply@github.com>2017-09-20 03:38:38 +0200
commitb35406b700e643c50ac9726e5f5e1650604e0879 (patch)
treef98c068b037abc01c6581e4a000f2a0e080b83aa /app
parent8e33fc29d747b19ad1bab5a0a8b015ad84469329 (diff)
Fix custom emojis with non-1:1 aspect ratio being stretched (#5017)
Diffstat (limited to 'app')
-rw-r--r--app/javascript/styles/components.scss1
1 files changed, 1 insertions, 0 deletions
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;