commit: b35406b700e643c50ac9726e5f5e1650604e0879
parent: 8e33fc29d747b19ad1bab5a0a8b015ad84469329
Author: Eugen Rochko <eugen@zeonfederated.com>
Date: Wed, 20 Sep 2017 03:38:38 +0200
Fix custom emojis with non-1:1 aspect ratio being stretched (#5017)
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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;