fix image border for viewers

This commit is contained in:
Ramón Souza 2023-09-19 13:03:07 -03:00
parent c07c09142a
commit 5b3eb4b60b

View File

@ -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 ================