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

release
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, ...style,
backgroundImage: `url(${imageUrl})`, backgroundImage: `url(${imageUrl})`,
backgroundSize: 'contain', backgroundSize: 'contain',
backgroundRepeat: 'no-repeat',
backgroundPosition: 'center',
} }
} }
} else { } else {