From 7ea30a2a4a74b54941b5ccf4ec78a29a35449d10 Mon Sep 17 00:00:00 2001 From: simmmpleweb Date: Tue, 19 Apr 2022 00:55:16 +0300 Subject: [PATCH] Solved RTL bug --- src/layouts/admin/index.js | 1 + src/layouts/auth/index.js | 1 + 2 files changed, 2 insertions(+) diff --git a/src/layouts/admin/index.js b/src/layouts/admin/index.js index 900538ec..3b9d5b22 100644 --- a/src/layouts/admin/index.js +++ b/src/layouts/admin/index.js @@ -109,6 +109,7 @@ export default function Dashboard(props) { } }); }; + document.documentElement.dir = "ltr"; const { onOpen } = useDisclosure(); return ( diff --git a/src/layouts/auth/index.js b/src/layouts/auth/index.js index 4468df59..b4722dc7 100644 --- a/src/layouts/auth/index.js +++ b/src/layouts/auth/index.js @@ -38,6 +38,7 @@ export default function Auth() { }); }; const authBg = useColorModeValue("white", "navy.900"); + document.documentElement.dir = "ltr"; return (