Skip to content

Commit b601e19

Browse files
committed
fix(ui): Fix the horizontal overflow of repository runs table
Fix by reducing the size of some columns, where the default values cause an overflow. Signed-off-by: Jyrki Keisala <[email protected]>
1 parent 6ec15a4 commit b601e19

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ui/src/routes/organizations/$orgId/products/$productId/repositories/$repoId/-components/repository-runs-table.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ const columns = [
9797
}),
9898
columnHelper.accessor('createdAt', {
9999
header: 'Created',
100+
size: 100,
100101
cell: ({ row }) => (
101102
<div>
102103
<TimestampWithUTC timestamp={row.original.createdAt} />
@@ -134,6 +135,7 @@ const columns = [
134135
columnHelper.display({
135136
id: 'jobStatuses',
136137
header: () => <div>Jobs</div>,
138+
size: 70,
137139
cell: ({ row }) => (
138140
<OrtRunJobStatus
139141
jobs={row.original.jobs}
@@ -149,6 +151,7 @@ const columns = [
149151
columnHelper.display({
150152
id: 'duration',
151153
header: 'Duration',
154+
size: 70,
152155
cell: ({ row }) => (
153156
<RunDuration
154157
createdAt={row.original.createdAt}

0 commit comments

Comments
 (0)