Skip to content

Commit 7734df8

Browse files
acartineCopilot
andcommitted
Distribute table column width evenly on Queues/Active screen
- Add explicit size constraints (120px default, 100-150px range) to State column - Prevents State column from absorbing excess horizontal space - Balances width distribution across all visible columns for better layout - Maintains minWidth constraint while allowing proper flex distribution Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 2b0f2df commit 7734df8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/beat-column-defs-extra.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@ export function stateColumn(
3939
return {
4040
accessorKey: "state",
4141
header: "State",
42-
meta: { minWidthPx: 128 },
42+
size: 120,
43+
minSize: 100,
44+
maxSize: 150,
45+
meta: { minWidthPx: 100 },
4346
cell: ({ row }) => {
4447
const beatId = row.original.id;
4548
const isRolling = Boolean(

0 commit comments

Comments
 (0)