use `background-size: contain` for custom emojis
parent
45215092e5
commit
045c77631d
|
@ -80,7 +80,7 @@ const Emoji = (props) => {
|
|||
height: props.size,
|
||||
display: 'inline-block',
|
||||
backgroundImage: `url(${imageUrl})`,
|
||||
backgroundSize: 'cover',
|
||||
backgroundSize: 'contain',
|
||||
}
|
||||
} else {
|
||||
let setHasEmoji = _getData(props)[`has_img_${props.set}`]
|
||||
|
|
Loading…
Reference in New Issue