From 3b9a504890e5616ab9d4353fe7f6193b0985caa1 Mon Sep 17 00:00:00 2001 From: bkellam Date: Sat, 18 Oct 2025 14:52:21 -0700 Subject: [PATCH] make repository column width fixed --- packages/web/src/app/[domain]/repos/columns.tsx | 3 +++ packages/web/src/components/ui/data-table.tsx | 10 ++++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/packages/web/src/app/[domain]/repos/columns.tsx b/packages/web/src/app/[domain]/repos/columns.tsx index a1cd1bdc..7d617cda 100644 --- a/packages/web/src/app/[domain]/repos/columns.tsx +++ b/packages/web/src/app/[domain]/repos/columns.tsx @@ -73,6 +73,7 @@ export const columns = (domain: string): ColumnDef[] => [ { accessorKey: "repoDisplayName", header: 'Repository', + size: 500, cell: ({ row: { original: { repoId, repoName, repoDisplayName, imageUrl } } }) => { return (
@@ -110,6 +111,7 @@ export const columns = (domain: string): ColumnDef[] => [ }, { accessorKey: "status", + size: 150, header: ({ column }) => { const uniqueLabels = Object.values(statusLabels); const currentFilter = column.getFilterValue() as string | undefined; @@ -163,6 +165,7 @@ export const columns = (domain: string): ColumnDef[] => [ }, { accessorKey: "lastIndexed", + size: 150, header: ({ column }) => (