diff --git a/packages/ui/src/makerkit/page.tsx b/packages/ui/src/makerkit/page.tsx index fd5a28075..b07c55dbb 100644 --- a/packages/ui/src/makerkit/page.tsx +++ b/packages/ui/src/makerkit/page.tsx @@ -1,6 +1,7 @@ import * as React from 'react'; import { cn } from '../lib/utils'; +import { If } from './if'; export type PageLayoutStyle = 'sidebar' | 'header' | 'custom'; @@ -108,7 +109,7 @@ export function PageBody( className?: string; }>, ) { - const className = cn('w-full flex flex-col flex-1 lg:px-4', props.className); + const className = cn('flex w-full flex-1 flex-col lg:px-4', props.className); return
{props.children}
; } @@ -161,8 +162,13 @@ export function PageHeader({ )} >
- {description} - {title} + + {description} + + + + {title} +
{children}