From d47c725b96bf3bc92850957c9e2f14e45d679179 Mon Sep 17 00:00:00 2001 From: caishi Date: Wed, 20 Oct 2021 15:25:35 +0800 Subject: [PATCH] =?UTF-8?q?pr=E5=88=86=E6=94=AF=E8=BF=87=E9=95=BF=EF=BC=8C?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E6=97=B6=E5=BA=94=E5=9B=BA=E5=AE=9A=E5=AE=BD?= =?UTF-8?q?=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/forge/Merge/CreateMerge.js | 4 ++-- src/forge/Merge/merge.css | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/forge/Merge/CreateMerge.js b/src/forge/Merge/CreateMerge.js index 2659f2e83..b039c6347 100644 --- a/src/forge/Merge/CreateMerge.js +++ b/src/forge/Merge/CreateMerge.js @@ -367,7 +367,7 @@ class CreateMerge extends Component { value={pull} onSelect={(e) => this.selectBrach('pull', e)} showSearch - className="merge-flex1 flex1" + className="merge-flex1 flex1 matchwidth" dropdownMatchSelectWidth={false} > {this.renderBrances(pullBranches)} @@ -394,7 +394,7 @@ class CreateMerge extends Component { value={merge} onSelect={(e) => this.selectBrach('merge', e)} showSearch - className="merge-flex1 flex1" + className="merge-flex1 flex1 matchwidth" dropdownMatchSelectWidth={false} > {this.renderBrances(mergeBranches)} diff --git a/src/forge/Merge/merge.css b/src/forge/Merge/merge.css index 3ea2620cb..1d635028e 100644 --- a/src/forge/Merge/merge.css +++ b/src/forge/Merge/merge.css @@ -213,4 +213,8 @@ form .ant-cascader-picker, form .ant-select { .mergeRequest .folders{ /* width: 72rem; */ width: 100%; - } \ No newline at end of file + } + + .matchwidth .ant-select-selection__rendered{ + max-width: 200px; + } \ No newline at end of file