forked from Gitlink/forgeplus-react
pr分支过长,显示时应固定宽度
This commit is contained in:
parent
be3e2b6936
commit
d47c725b96
|
@ -367,7 +367,7 @@ class CreateMerge extends Component {
|
||||||
value={pull}
|
value={pull}
|
||||||
onSelect={(e) => this.selectBrach('pull', e)}
|
onSelect={(e) => this.selectBrach('pull', e)}
|
||||||
showSearch
|
showSearch
|
||||||
className="merge-flex1 flex1"
|
className="merge-flex1 flex1 matchwidth"
|
||||||
dropdownMatchSelectWidth={false}
|
dropdownMatchSelectWidth={false}
|
||||||
>
|
>
|
||||||
{this.renderBrances(pullBranches)}
|
{this.renderBrances(pullBranches)}
|
||||||
|
@ -394,7 +394,7 @@ class CreateMerge extends Component {
|
||||||
value={merge}
|
value={merge}
|
||||||
onSelect={(e) => this.selectBrach('merge', e)}
|
onSelect={(e) => this.selectBrach('merge', e)}
|
||||||
showSearch
|
showSearch
|
||||||
className="merge-flex1 flex1"
|
className="merge-flex1 flex1 matchwidth"
|
||||||
dropdownMatchSelectWidth={false}
|
dropdownMatchSelectWidth={false}
|
||||||
>
|
>
|
||||||
{this.renderBrances(mergeBranches)}
|
{this.renderBrances(mergeBranches)}
|
||||||
|
|
|
@ -213,4 +213,8 @@ form .ant-cascader-picker, form .ant-select {
|
||||||
.mergeRequest .folders{
|
.mergeRequest .folders{
|
||||||
/* width: 72rem; */
|
/* width: 72rem; */
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.matchwidth .ant-select-selection__rendered{
|
||||||
|
max-width: 200px;
|
||||||
|
}
|
Loading…
Reference in New Issue