fix mute + listen only icons in userlist

This commit is contained in:
Ramón Souza 2022-01-20 19:00:18 +00:00
parent d94b7b77fb
commit d92290ed6f

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: "";