Skip to content

Commit

Permalink
Fix header for rtl languages
Browse files Browse the repository at this point in the history
  • Loading branch information
1ilit committed Oct 31, 2024
1 parent 35d55a0 commit cd26273
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/EditorHeader/ControlPanel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -1382,7 +1382,10 @@ export default function ControlPanel({
<>
<div>
{layout.header && (
<div className="flex justify-between items-center me-7">
<div
className="flex justify-between items-center me-7"
style={isRtl(i18n.language) ? { direction: "rtl" } : {}}
>
{header()}
{window.name.split(" ")[0] !== "t" && (
<Button
Expand Down

0 comments on commit cd26273

Please sign in to comment.