表格与页面样式调整
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
import type { ReactNode } from "react"
|
||||
import { cn } from "@/lib/utils"
|
||||
|
||||
export function Page(props: { children: ReactNode }) {
|
||||
return <div className="flex flex-col">{props.children}</div>
|
||||
export function Page(props: { className?: string; children: ReactNode }) {
|
||||
return (
|
||||
<div className={cn("h-full flex flex-col p-6 gap-4", props.className)}>
|
||||
{props.children}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user