mirror of
https://github.com/makeplane/plane.git
synced 2025-12-25 08:09:33 +01:00
* [WEB-2332] style: minor layout improvements. * [WEB-2295] style: fix scrollbar padding in workspace list section of profile settings. * style: add `app-container` css.
32 lines
831 B
TypeScript
32 lines
831 B
TypeScript
"use client";
|
|
|
|
import { ReactNode } from "react";
|
|
// components
|
|
import { CommandPalette } from "@/components/command-palette";
|
|
// wrappers
|
|
import { AuthenticationWrapper } from "@/lib/wrappers";
|
|
// layout
|
|
import { ProfileLayoutSidebar } from "./sidebar";
|
|
|
|
type Props = {
|
|
children: ReactNode;
|
|
};
|
|
|
|
export default function ProfileSettingsLayout(props: Props) {
|
|
const { children } = props;
|
|
|
|
return (
|
|
<>
|
|
<CommandPalette />
|
|
<AuthenticationWrapper>
|
|
<div className="relative flex h-full w-full overflow-hidden">
|
|
<ProfileLayoutSidebar />
|
|
<main className="relative flex h-full w-full flex-col overflow-hidden bg-custom-background-100">
|
|
<div className="h-full w-full overflow-hidden">{children}</div>
|
|
</main>
|
|
</div>
|
|
</AuthenticationWrapper>
|
|
</>
|
|
);
|
|
}
|