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

release
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, height: props.size,
display: 'inline-block', display: 'inline-block',
backgroundImage: `url(${imageUrl})`, backgroundImage: `url(${imageUrl})`,
backgroundSize: '100%', backgroundSize: 'cover',
} }
} else { } else {
let setHasEmoji = _getData(props)[`has_img_${props.set}`] let setHasEmoji = _getData(props)[`has_img_${props.set}`]