fix: Ensure emoji backgrounds do not tile (#362)
parent
76ac008169
commit
f10510b262
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue