Update experiments table column min width [SCI-10393] (#7265)

This commit is contained in:
Soufiane 2024-03-13 10:24:25 +00:00 committed by GitHub
parent b3e2182ce6
commit 14b962570e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -112,23 +112,26 @@ export default {
flex: 1, flex: 1,
headerName: this.i18n.t('experiments.card.name'), headerName: this.i18n.t('experiments.card.name'),
sortable: true, sortable: true,
cellRenderer: NameRenderer cellRenderer: NameRenderer,
minWidth: 150
}, },
{ {
field: 'code', field: 'code',
headerName: this.i18n.t('experiments.id'), headerName: this.i18n.t('experiments.id'),
sortable: true sortable: true,
minWidth: 80
}, },
{ {
field: 'created_at', field: 'created_at',
headerName: this.i18n.t('experiments.card.start_date'), headerName: this.i18n.t('experiments.card.start_date'),
sortable: true, sortable: true,
minWidth: 130 minWidth: 110
}, },
{ {
field: 'updated_at', field: 'updated_at',
headerName: this.i18n.t('experiments.card.modified_date'), headerName: this.i18n.t('experiments.card.modified_date'),
sortable: true sortable: true,
minWidth: 110
} }
]; ];
@ -145,7 +148,7 @@ export default {
headerName: this.i18n.t('experiments.card.completed_task'), headerName: this.i18n.t('experiments.card.completed_task'),
cellRenderer: CompletedTasksRenderer, cellRenderer: CompletedTasksRenderer,
sortable: true, sortable: true,
minWidth: 120 minWidth: 110
}); });
columns.push({ columns.push({
field: 'description', field: 'description',
@ -153,7 +156,8 @@ export default {
sortable: true, sortable: true,
cellStyle: { 'white-space': 'normal' }, cellStyle: { 'white-space': 'normal' },
cellRenderer: DescriptionRenderer, cellRenderer: DescriptionRenderer,
autoHeight: true autoHeight: true,
minWidth: 110
}); });
return columns; return columns;