use `background-size: contain` for custom emojis
parent
45215092e5
commit
045c77631d
|
@ -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}`]
|
||||||
|
|
Loading…
Reference in New Issue