rtl-fix address issues

This commit is contained in:
tasnim
2024-08-05 11:31:11 +03:00
parent 048704f572
commit 94a076c9bc
3 changed files with 4 additions and 4 deletions

View File

@@ -1385,7 +1385,7 @@ export default function ControlPanel({
<Divider layout="vertical" margin="8px" />
<Dropdown
style={{ width: "240px" }}
position="bottomLeft"
position={isRtl(i18n.language) ? "bottomRight" : "bottomLeft"}
render={
<Dropdown.Menu
style={isRtl(i18n.language) ? { direction: "rtl" } : {}}