Merge pull request #14968 from frankemax/avatar-fix

fix(user-avatar): avatar image covered
This commit is contained in:
Ramón Souza 2022-05-10 17:02:03 +01:00 committed by GitHub
commit b024e6802d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,9 +65,12 @@ const Talking = styled.div`
right: 0; right: 0;
bottom: 0; bottom: 0;
left: 0; left: 0;
background-color: currentColor;
border-radius: inherit; border-radius: inherit;
${({ talking }) => talking && css`
background-color: currentColor;
`}
${({ talking, animations }) => talking && animations && css` ${({ talking, animations }) => talking && animations && css`
animation: ${pulse} 1s infinite ease-in; animation: ${pulse} 1s infinite ease-in;
`} `}