fix(mobile): minor changes

This commit is contained in:
ManishMadan2882
2024-09-18 03:21:46 +05:30
parent b5f1a8e90f
commit 18ce7c8f2f
5 changed files with 10 additions and 9 deletions

View File

@@ -18,10 +18,10 @@ function MainLayout() {
const [navOpen, setNavOpen] = useState(!isMobile);
return (
<div className="dark:bg-raisin-black relative h-full">
<div className="dark:bg-raisin-black relative h-screen overflow-auto">
<Navigation navOpen={navOpen} setNavOpen={setNavOpen} />
<div
className={`h-full ${
className={`h-[calc(100dvh-64px)] sm:h-screen ${
!isMobile
? `ml-0 ${!navOpen ? 'md:mx-auto lg:mx-auto' : 'md:ml-72'}`
: 'ml-0 md:ml-16'