fix video dropdown in rtl

This commit is contained in:
Ramón Souza 2023-09-28 14:02:32 -03:00
parent 27efad9fc2
commit fde37f08c9
2 changed files with 4 additions and 0 deletions

View File

@ -180,6 +180,7 @@ const UserActions = (props) => {
<Styled.DropdownTrigger <Styled.DropdownTrigger
tabIndex={0} tabIndex={0}
data-test="dropdownWebcamButton" data-test="dropdownWebcamButton"
isRTL={isRTL}
> >
{name} {name}
</Styled.DropdownTrigger> </Styled.DropdownTrigger>

View File

@ -23,6 +23,9 @@ const DropdownTrigger = styled(DivElipsis)`
content: "\\203a"; content: "\\203a";
position: absolute; position: absolute;
transform: rotate(90deg); transform: rotate(90deg);
${({ isRTL }) => isRTL && `
transform: rotate(-90deg);
`}
top: 45%; top: 45%;
width: 0; width: 0;
line-height: 0; line-height: 0;