pr分支过长,显示时应固定宽度
This commit is contained in:
parent
be3e2b6936
commit
d47c725b96
|
@ -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)}
|
||||
|
|
|
@ -214,3 +214,7 @@ form .ant-cascader-picker, form .ant-select {
|
|||
/* width: 72rem; */
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.matchwidth .ant-select-selection__rendered{
|
||||
max-width: 200px;
|
||||
}
|
Loading…
Reference in New Issue