Merge pull request #14161 from ramonlsouza/fix-mute-and-listen-onlyicon

fix: mute + listen only icons in userlist
This commit is contained in:
Anton Georgiev 2022-01-20 14:05:46 -05:00 committed by GitHub
commit a6c8121776
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -202,6 +202,23 @@ const Avatar = styled.div`
}
`}
${({ voice }) => voice && `
&:after {
content: "\\00a0\\e931\\00a0";
background-color: ${colorSuccess};
top: 1.375rem;
left: 1.375rem;
right: auto;
[dir="rtl"] & {
left: auto;
right: 1.375rem;
}
opacity: 1;
width: 1.2rem;
height: 1.2rem;
}
`}
${({ muted }) => muted && `
&:after {
@ -222,24 +239,6 @@ const Avatar = styled.div`
}
`}
${({ voice }) => voice && `
&:after {
content: "\\00a0\\e931\\00a0";
background-color: ${colorSuccess};
top: 1.375rem;
left: 1.375rem;
right: auto;
[dir="rtl"] & {
left: auto;
right: 1.375rem;
}
opacity: 1;
width: 1.2rem;
height: 1.2rem;
}
`}
${({ noVoice }) => noVoice && `
&:after {
content: "";