diff --git a/packages/ui/src/makerkit/page.tsx b/packages/ui/src/makerkit/page.tsx index 9261f24f3..9230b2ee2 100644 --- a/packages/ui/src/makerkit/page.tsx +++ b/packages/ui/src/makerkit/page.tsx @@ -42,9 +42,7 @@ function PageWithSidebar(props: PageProps) { > {MobileNavigation} -
- {Children} -
+
{Children}
); @@ -103,7 +101,7 @@ export function PageBody( className?: string; }>, ) { - const className = cn('w-full flex flex-col flex-1', props.className); + const className = cn('w-full flex flex-col flex-1 lg:px-4', props.className); return
{props.children}
; } @@ -145,7 +143,7 @@ export function PageHeader({ description?: string | React.ReactNode; }>) { return ( -
+
{title ? (
{title} diff --git a/packages/ui/src/shadcn/button.tsx b/packages/ui/src/shadcn/button.tsx index f44df9277..744edd466 100644 --- a/packages/ui/src/shadcn/button.tsx +++ b/packages/ui/src/shadcn/button.tsx @@ -20,7 +20,7 @@ const buttonVariants = cva( secondary: 'bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80', ghost: 'hover:bg-accent hover:text-accent-foreground', - link: 'text-primary underline-offset-4 hover:underline', + link: 'decoration-primary underline-offset-4 hover:underline', }, size: { default: 'h-9 px-4 py-2',