mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-25 03:49:11 +00:00
fix(Avatar): fix transparent server icons showing backgrounds
This commit is contained in:
parent
57f58d7333
commit
1cd5cd7378
1 changed files with 1 additions and 0 deletions
|
@ -15,6 +15,7 @@ export const Avatar = (props: AvatarProps) => (
|
||||||
{props.src && props.hash && (
|
{props.src && props.hash && (
|
||||||
<Image
|
<Image
|
||||||
style={{
|
style={{
|
||||||
|
backgroundColor: 'inherit',
|
||||||
backgroundImage: `url(${props.src})`,
|
backgroundImage: `url(${props.src})`,
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Add table
Reference in a new issue