[WEB-2332] chore: layout structure improvement. (#5538)

* [WEB-2332] chore: layout structure improvement.

* chore: improve layout.
This commit is contained in:
Prateek Shourya
2024-09-06 16:46:42 +05:30
committed by GitHub
parent 9415a5ba00
commit 1032bc75d7

View File

@@ -8,7 +8,7 @@ import "@/styles/react-day-picker.css";
// meta data info
import { SITE_NAME, SITE_DESCRIPTION } from "@/constants/meta";
// helpers
import { API_BASE_URL } from "@/helpers/common.helper";
import { API_BASE_URL, cn } from "@/helpers/common.helper";
// local
import { AppProvider } from "./provider";
@@ -75,7 +75,14 @@ export default function RootLayout({ children }: { children: React.ReactNode })
<body>
<div id="context-menu-portal" />
<AppProvider>
<div className={`h-screen w-full overflow-hidden bg-custom-background-100`}>{children}</div>
<div
className={cn(
"h-screen w-full overflow-hidden bg-custom-background-100 relative flex flex-col",
"app-container"
)}
>
<div className="w-full h-full overflow-hidden relative">{children}</div>
</div>
</AppProvider>
</body>
{process.env.NEXT_PUBLIC_PLAUSIBLE_DOMAIN && (