Skip to content

Commit 7ea30a2

Browse files
committed
Solved RTL bug
1 parent ca033a8 commit 7ea30a2

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/layouts/admin/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ export default function Dashboard(props) {
109109
}
110110
});
111111
};
112+
document.documentElement.dir = "ltr";
112113
const { onOpen } = useDisclosure();
113114
return (
114115
<Box>

src/layouts/auth/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ export default function Auth() {
3838
});
3939
};
4040
const authBg = useColorModeValue("white", "navy.900");
41+
document.documentElement.dir = "ltr";
4142
return (
4243
<Box>
4344
<SidebarContext.Provider

0 commit comments

Comments
 (0)