diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-09-20 03:38:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-20 03:38:38 +0200 |
commit | b35406b700e643c50ac9726e5f5e1650604e0879 (patch) | |
tree | f98c068b037abc01c6581e4a000f2a0e080b83aa | |
parent | 8e33fc29d747b19ad1bab5a0a8b015ad84469329 (diff) |
Fix custom emojis with non-1:1 aspect ratio being stretched (#5017)
-rw-r--r-- | app/javascript/styles/components.scss | 1 |
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; |