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

master
Eugen Rochko 7 years ago committed by GitHub
parent 8e33fc29d7
commit b35406b700
  1. 1
      app/javascript/styles/components.scss

@ -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…
Cancel
Save