Browse Source

styles: 修改流水线表格列宽度

pull/176/head
cp3hnu 11 months ago
parent
commit
7235e23e95
3 changed files with 6 additions and 3 deletions
  1. +1
    -1
      react-ui/src/pages/AutoML/components/ExperimentInstance/index.less
  2. +1
    -2
      react-ui/src/pages/AutoML/components/ExperimentList/index.tsx
  3. +4
    -0
      react-ui/src/pages/Pipeline/index.jsx

+ 1
- 1
react-ui/src/pages/AutoML/components/ExperimentInstance/index.less View File

@@ -26,7 +26,7 @@

.startTime {
.singleLine();
width: calc(20% + 10px);
width: 200px;
}

.status {


+ 1
- 2
react-ui/src/pages/AutoML/components/ExperimentList/index.tsx View File

@@ -262,12 +262,11 @@ function ExperimentList({ type }: ExperimentListProps) {
key: 'ml_description',
render: tableCellRender(true),
},

{
title: '创建时间',
dataIndex: 'update_time',
key: 'update_time',
width: '20%',
width: 200,
render: tableCellRender(false, TableCellValueType.Date),
},
{


+ 4
- 0
react-ui/src/pages/Pipeline/index.jsx View File

@@ -152,6 +152,7 @@ const Pipeline = () => {
title: '流水线名称',
dataIndex: 'name',
key: 'name',
width: '50%',
render: tableCellRender(false, TableCellValueType.Link, {
onClick: gotoDetail,
}),
@@ -160,18 +161,21 @@ const Pipeline = () => {
title: '流水线描述',
dataIndex: 'description',
key: 'description',
width: '50%',
render: tableCellRender(true),
},
{
title: '创建时间',
dataIndex: 'create_time',
key: 'create_time',
width: 180,
render: tableCellRender(false, TableCellValueType.Date),
},
{
title: '修改时间',
dataIndex: 'update_time',
key: 'update_time',
width: 180,
render: tableCellRender(false, TableCellValueType.Date),
},
{


Loading…
Cancel
Save