Skip to content

Commit

Permalink
Solved RTL bug
Browse files Browse the repository at this point in the history
  • Loading branch information
simmmpleweb committed Apr 18, 2022
1 parent ca033a8 commit 7ea30a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/layouts/admin/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ export default function Dashboard(props) {
}
});
};
document.documentElement.dir = "ltr";
const { onOpen } = useDisclosure();
return (
<Box>
Expand Down
1 change: 1 addition & 0 deletions src/layouts/auth/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export default function Auth() {
});
};
const authBg = useColorModeValue("white", "navy.900");
document.documentElement.dir = "ltr";
return (
<Box>
<SidebarContext.Provider
Expand Down

0 comments on commit 7ea30a2

Please sign in to comment.