Skip to content

Commit

Permalink
remove year column and adjust table spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
ligsnf committed Dec 4, 2024
1 parent d84e3c5 commit e742bc3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/components/ui/table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const TableHead = React.forwardRef<
<th
ref={ref}
className={cn(
"h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",
"h-12 px-3 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",
className
)}
{...props}
Expand All @@ -87,7 +87,7 @@ const TableCell = React.forwardRef<
>(({ className, ...props }, ref) => (
<td
ref={ref}
className={cn("p-4 align-middle [&:has([role=checkbox])]:pr-0", className)}
className={cn("p-3 align-middle [&:has([role=checkbox])]:pr-0", className)}
{...props}
/>
))
Expand Down
4 changes: 0 additions & 4 deletions src/routes/-components/columns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ export type Result = {
}

export const columns: ColumnDef<Result>[] = [
{
accessorKey: "year",
header: "Year",
},
{
accessorKey: "unitCode",
header: "Unit Code",
Expand Down

0 comments on commit e742bc3

Please sign in to comment.