From 11fb73c387deaa7144eeb396443baf8a49936435 Mon Sep 17 00:00:00 2001 From: hujiahao-hjh Date: Mon, 6 Sep 2021 10:36:42 +0800 Subject: [PATCH 1/2] fix: in test-plan drawer, related-bugs table too wide --- .../pages/test-manage/case/case-drawer/related-bugs.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shell/app/modules/project/pages/test-manage/case/case-drawer/related-bugs.tsx b/shell/app/modules/project/pages/test-manage/case/case-drawer/related-bugs.tsx index a4fb13d96d..27471d7633 100644 --- a/shell/app/modules/project/pages/test-manage/case/case-drawer/related-bugs.tsx +++ b/shell/app/modules/project/pages/test-manage/case/case-drawer/related-bugs.tsx @@ -138,7 +138,7 @@ const RelatedBugs = ({ relationID }: IProps) => { { title: i18n.t('project:priority'), dataIndex: 'priority', - width: 80, + width: 96, render: (text: string) => ISSUE_PRIORITY_MAP[text] ? ( <> @@ -158,7 +158,7 @@ const RelatedBugs = ({ relationID }: IProps) => { { title: null, dataIndex: 'operate', - width: 160, + width: 120, fixed: 'right', render: (text, { issueRelationID }: TEST_CASE.RelatedBug) => { return [ @@ -262,7 +262,7 @@ const RelatedBugs = ({ relationID }: IProps) => { ) : null} - +
); }; From 553f1c5cb5527b3bc40a6d25ac116e487df5ff3e Mon Sep 17 00:00:00 2001 From: hujiahao-hjh Date: Mon, 6 Sep 2021 10:42:30 +0800 Subject: [PATCH 2/2] fix: button too wide in English mode --- shell/app/modules/project/pages/plan-detail/pass-and-next.scss | 1 - 1 file changed, 1 deletion(-) diff --git a/shell/app/modules/project/pages/plan-detail/pass-and-next.scss b/shell/app/modules/project/pages/plan-detail/pass-and-next.scss index 6009cfd835..cad53e2a88 100644 --- a/shell/app/modules/project/pages/plan-detail/pass-and-next.scss +++ b/shell/app/modules/project/pages/plan-detail/pass-and-next.scss @@ -37,7 +37,6 @@ } button { - width: 88px; margin-left: 8px; &:disabled {