스타일 적용 중 (표영역)

This commit is contained in:
YangJinSoo94
2025-03-27 11:04:59 +09:00
parent 9c0ca52036
commit fa209d0c5d
2 changed files with 6 additions and 6 deletions
@@ -24,8 +24,9 @@ export function UiTable({ tableData, headlist, pageSize, total, children, headNa
{headName ? <div className="card-header">
{headName}
</div> : <></>}
<Table>
<TableHeader>
<div className="card !m-[1.2rem] h-[49rem] overflow-auto !p-0r">
<Table>
<TableHeader>
{children ? <>{children}</> : <TableRow>
{headlist?.map((head) => (
<TableHead key={head.id}>{head.title}</TableHead>
@@ -41,8 +42,9 @@ export function UiTable({ tableData, headlist, pageSize, total, children, headNa
</TableRow>
))}
</TableBody>
</Table>
{total <= 0 ? <></> : <UiPageNations total={total} cur={cur} pageSize={pageSize} />}
</Table>
{total <= 0 ? <></> : <UiPageNations total={total} cur={cur} pageSize={pageSize} />}
</div>
</>
);
}
@@ -2,11 +2,9 @@
function Title(props: {title: string}) {
return (
<div className="h-auto min-h-full bg-container">
<h2 className="px-[1.8rem] pt-[2rem] text-[2.4rem] font-semibold text-title">
{props.title}
</h2>
</div>
)
}