mirror of
https://github.com/makeplane/plane.git
synced 2026-01-26 16:19:43 -06:00
[WEB-2332] chore: layout structure improvement. (#5538)
* [WEB-2332] chore: layout structure improvement. * chore: improve layout.
This commit is contained in:
@@ -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 && (
|
||||
|
||||
Reference in New Issue
Block a user