We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a24a139 commit 70488acCopy full SHA for 70488ac
1 file changed
apps/webapp/app/components/layout/AppLayout.tsx
@@ -20,8 +20,18 @@ export function MainBody({ children }: { children: React.ReactNode }) {
20
}
21
22
/** This container should be placed around the content on a page */
23
-export function PageContainer({ children }: { children: React.ReactNode }) {
24
- return <div className="grid h-full grid-rows-[auto_1fr] overflow-hidden">{children}</div>;
+export function PageContainer({
+ children,
25
+ className,
26
+}: {
27
+ children: React.ReactNode;
28
+ className?: string;
29
+}) {
30
+ return (
31
+ <div className={cn("grid h-full grid-rows-[auto_1fr] overflow-hidden", className)}>
32
+ {children}
33
+ </div>
34
+ );
35
36
37
export function PageBody({
0 commit comments