fix: correct flex calculation in RunsTable component
This commit is contained in:
@@ -524,7 +524,7 @@ export const RunsTable: React.FC<RunsTableProps> = ({
|
|||||||
minWidth: column.minWidth,
|
minWidth: column.minWidth,
|
||||||
maxWidth: column.maxWidth,
|
maxWidth: column.maxWidth,
|
||||||
width: `${
|
width: `${
|
||||||
(column.flexGrow / totalFlexGrow) * 100
|
(column.flexGrow / columns.reduce((sum, col) => sum + (col.flexGrow || 0), 0)) * 100
|
||||||
}%`,
|
}%`,
|
||||||
cursor:
|
cursor:
|
||||||
column.id === "startedAt" ||
|
column.id === "startedAt" ||
|
||||||
|
|||||||
Reference in New Issue
Block a user