From 274d8b3862860bcc05046ad77d662d02bf69e303 Mon Sep 17 00:00:00 2001 From: Etienne Lemay Date: Fri, 29 Sep 2017 19:26:13 -0400 Subject: [PATCH] Set `background-size: cover` for custom emojis [Fix #117] --- 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 e13c6e0..04f4332 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: '100%', + backgroundSize: 'cover', } } else { let setHasEmoji = _getData(props)[`has_img_${props.set}`]