fix: Ensure emoji backgrounds do not tile (#362)

nolan/no-underscore-json
Ryan McCue 2019-12-21 16:41:24 +00:00 committed by Nolan Lawson
parent 76ac008169
commit f10510b262
1 changed files with 2 additions and 0 deletions

View File

@ -149,6 +149,8 @@ const NimbleEmoji = (props) => {
...style,
backgroundImage: `url(${imageUrl})`,
backgroundSize: 'contain',
backgroundRepeat: 'no-repeat',
backgroundPosition: 'center',
}
}
} else {