Skip to content

Commit c8f4897

Browse files
zokkissilverwind
andauthored
Filter for default-branch selection (go-gitea#29388)
Filter for default-branch selection (fixes go-gitea#4751) before: ![image](https://github.com/go-gitea/gitea/assets/72873130/dcae266d-2e04-41bf-8739-64a85c9007f6) after: ![image](https://github.com/go-gitea/gitea/assets/72873130/5f27c0a7-1d30-4ccd-b4bb-6c34fff1b79f) --------- Co-authored-by: silverwind <[email protected]>
1 parent 7cf7a49 commit c8f4897

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/repo/settings/branches.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
{{.CsrfTokenHtml}}
1717
<input type="hidden" name="action" value="default_branch">
1818
{{if not .Repository.IsEmpty}}
19-
<div class="ui dropdown selection gt-f1 gt-mr-3 tw-max-w-96">
19+
<div class="ui dropdown selection search gt-f1 gt-mr-3 tw-max-w-96">
2020
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
2121
<input type="hidden" name="branch" value="{{.Repository.DefaultBranch}}">
2222
<div class="default text">{{.Repository.DefaultBranch}}</div>

0 commit comments

Comments
 (0)