use `background-size: contain` for custom emojis

release
Etienne Lemay 2017-09-30 11:01:03 -04:00
parent 45215092e5
commit 045c77631d
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ const Emoji = (props) => {
height: props.size, height: props.size,
display: 'inline-block', display: 'inline-block',
backgroundImage: `url(${imageUrl})`, backgroundImage: `url(${imageUrl})`,
backgroundSize: 'cover', backgroundSize: 'contain',
} }
} else { } else {
let setHasEmoji = _getData(props)[`has_img_${props.set}`] let setHasEmoji = _getData(props)[`has_img_${props.set}`]