Fix custom emojis with non-1:1 aspect ratio being stretched (#5017)
This commit is contained in:
parent
8e33fc29d7
commit
b35406b700
|
@ -418,6 +418,7 @@
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-size: inherit;
|
font-size: inherit;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
|
object-fit: contain;
|
||||||
margin: -.2ex .15em .2ex;
|
margin: -.2ex .15em .2ex;
|
||||||
width: 16px;
|
width: 16px;
|
||||||
height: 16px;
|
height: 16px;
|
||||||
|
|
Loading…
Reference in New Issue