From 045c77631dd1f6fe16660b270d4de972ed69cbed Mon Sep 17 00:00:00 2001 From: Etienne Lemay Date: Sat, 30 Sep 2017 11:01:03 -0400 Subject: [PATCH] use `background-size: contain` for custom emojis --- src/components/emoji.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/emoji.js b/src/components/emoji.js index 04f4332..79246df 100644 --- a/src/components/emoji.js +++ b/src/components/emoji.js @@ -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}`]