custom table width

This commit is contained in:
polaris
2024-07-01 14:45:16 -04:00
parent fce22cda7c
commit 64cb7ded43
4 changed files with 10 additions and 11 deletions

View File

@ -34,7 +34,7 @@ export function DataTable<TData, TValue>({
});
return (
<div className="rounded-md border">
<div className="rounded-md border ">
<Table>
<TableHeader>
{table.getHeaderGroups().map((headerGroup) => (
@ -60,7 +60,7 @@ export function DataTable<TData, TValue>({
data-state={row.getIsSelected() && "selected"}
>
{row.getVisibleCells().map((cell) => (
<TableCell key={cell.id}>
<TableCell key={cell.id} className="p-5">
{flexRender(cell.column.columnDef.cell, cell.getContext())}
</TableCell>
))}