Set `background-size: cover` for custom emojis [Fix #117]

nolan/hinaloe-test
Etienne Lemay 2017-09-29 19:26:13 -04:00
parent 1a2d400362
commit 274d8b3862
1 changed files with 1 additions and 1 deletions

View File

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