fix: fix layout issue on mobile browser

This commit is contained in:
2024-08-21 07:05:45 +07:00
parent 4861e1bbb1
commit 7532c6330c
5 changed files with 18 additions and 9 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ const MainLayout = () => {
<Drawer
open={sidebar.isOpen}
onClickOverlay={sidebar.onClose}
className="md:drawer-open h-screen"
className="md:drawer-open h-screen max-h-dvh"
side={<Sidebar />}
contentClassName="flex flex-col overflow-hidden"
>