Fix custom emojis with non-1:1 aspect ratio being stretched (#5017)

rebase/4.0.0rc2
Eugen Rochko 2017-09-20 03:38:38 +02:00 committed by GitHub
parent 8e33fc29d7
commit b35406b700
1 changed files with 1 additions and 0 deletions

View File

@ -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;