스타일 적용 중 (표영역)
This commit is contained in:
@@ -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>
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user