Merge pull request #18872 from ramonlsouza/fix-video-dropdown-rtl

fix: video dropdown chevron in rtl
This commit is contained in:
Ramón Souza 2023-09-28 14:39:19 -03:00 committed by GitHub
commit ef0b78ce30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

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

View File

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