From 98754c70eceba7dc0a73b07c6c96963c89b5f8f7 Mon Sep 17 00:00:00 2001 From: Lijiao <35484733+lvybriage@users.noreply.github.com> Date: Mon, 30 Dec 2019 09:33:58 +0800 Subject: [PATCH] fix overview page table trialId style (#1875) --- src/webui/src/components/Modal/Compare.tsx | 3 ++- src/webui/src/components/overview/SuccessTable.tsx | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/webui/src/components/Modal/Compare.tsx b/src/webui/src/components/Modal/Compare.tsx index 2bc9a9c1e8..2221e5893e 100644 --- a/src/webui/src/components/Modal/Compare.tsx +++ b/src/webui/src/components/Modal/Compare.tsx @@ -91,7 +91,8 @@ class Compare extends React.Component { }, yAxis: { type: 'value', - name: 'Metric' + name: 'Metric', + scale: true }, series: trialIntermediate }; diff --git a/src/webui/src/components/overview/SuccessTable.tsx b/src/webui/src/components/overview/SuccessTable.tsx index 9019afec82..cb3ab1d33e 100644 --- a/src/webui/src/components/overview/SuccessTable.tsx +++ b/src/webui/src/components/overview/SuccessTable.tsx @@ -28,12 +28,11 @@ class SuccessTable extends React.Component { { title: 'Trial No.', dataIndex: 'sequenceId', - width: 140, className: 'tableHead' }, { title: 'ID', dataIndex: 'id', - width: 60, + width: 80, className: 'tableHead leftTitle', render: (text: string, record: TableRecord): React.ReactNode => { return (