fix image border for viewers
This commit is contained in:
parent
c07c09142a
commit
5b3eb4b60b
@ -312,10 +312,11 @@ const Avatar = styled.div<AvatarProps>`
|
||||
`}
|
||||
// ================ talking animation ================
|
||||
// ================ image ================
|
||||
${({ avatar, emoji }) => avatar?.length !== 0 && !emoji && css`
|
||||
${({ avatar, emoji, color }) => avatar?.length !== 0 && !emoji && css`
|
||||
background-image: url(${avatar});
|
||||
background-repeat: no-repeat;
|
||||
background-size: contain;
|
||||
border: 2px solid ${color};
|
||||
`}
|
||||
// ================ image ================
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user