Skip to content

Commit c5422fa

Browse files
authored
Fix fork page branch selection (#32711)
Fix #32709
1 parent 0c3c041 commit c5422fa

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

templates/repo/pulls/fork.tmpl

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,20 +53,18 @@
5353
</div>
5454
<div class="inline field">
5555
<label>{{ctx.Locale.Tr "repo.fork_branch"}}</label>
56-
<div class="ui selection dropdown">
56+
<div class="ui selection dropdown ellipsis-items-nowrap">
5757
<input type="hidden" id="fork_single_branch" name="fork_single_branch" value="" required>
58-
<span class="text truncated-item-container" data-value="" title="{{ctx.Locale.Tr "repo.all_branches"}}">
58+
<div class="text" title="{{ctx.Locale.Tr "repo.all_branches"}}">
5959
<span class="truncated-item-name">{{ctx.Locale.Tr "repo.all_branches"}}</span>
60-
</span>
60+
</div>
6161
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
6262
<div class="menu">
63-
<div class="item truncated-item-container" data-value="" title="{{ctx.Locale.Tr "repo.all_branches"}}">
64-
<span class="truncated-item-name">{{ctx.Locale.Tr "repo.all_branches"}}</span>
63+
<div class="item" data-value="" title="{{ctx.Locale.Tr "repo.all_branches"}}">
64+
{{ctx.Locale.Tr "repo.all_branches"}}
6565
</div>
6666
{{range .Branches}}
67-
<div class="item truncated-item-container" data-value="{{.}}" title="{{.}}">
68-
<span class="truncated-item-name">{{.}}</span>
69-
</div>
67+
<div class="item" data-value="{{.}}" title="{{.}}">{{.}}</div>
7068
{{end}}
7169
</div>
7270
</div>

0 commit comments

Comments
 (0)