Skip to content

Commit

Permalink
Hotfix/test plan drawer related bugs table too wide (#1077)
Browse files Browse the repository at this point in the history
* fix: in test-plan drawer, related-bugs table too wide

* fix: button too wide in English mode
  • Loading branch information
hujiahao-hjh authored Sep 6, 2021
1 parent e221578 commit 265eee7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
}

button {
width: 88px;
margin-left: 8px;

&:disabled {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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] ? (
<>
Expand All @@ -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 [
Expand Down Expand Up @@ -262,7 +262,7 @@ const RelatedBugs = ({ relationID }: IProps) => {
</Button>
</div>
) : null}
<Table columns={relatedBugsColumns} dataSource={issueBugs || []} pagination={false} scroll={{ x: 800 }} />
<Table columns={relatedBugsColumns} dataSource={issueBugs || []} pagination={false} scroll={{ x: 660 }} />
</div>
);
};
Expand Down

0 comments on commit 265eee7

Please sign in to comment.