Merge pull request #18872 from ramonlsouza/fix-video-dropdown-rtl
fix: video dropdown chevron in rtl
This commit is contained in:
commit
ef0b78ce30
@ -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>
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user