1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-07 00:14:25 +00:00

Add ellipsis

This commit is contained in:
Lunny Xiao 2024-12-03 22:02:04 -08:00
parent 66dbadcf68
commit 051b42a4a8
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A

View File

@ -64,7 +64,7 @@
<div class="required field">
<label for="source_repository">{{ctx.Locale.Tr "repo.issues.create_branch_from_repository"}}</label>
<div class="ui selection dropdown">
<div class="ui selection dropdown ellipsis-items-nowrap">
<input type="hidden" name="repo_id" value="{{.Issue.Repo.ID}}">
<div class="text">
<strong id="repo-branch-current">{{.Issue.Repo.FullName}}</strong>
@ -72,7 +72,7 @@
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
<div class="menu">
{{range .AllowedRepos}}
<div class="item" data-value="{{.ID}}">{{.FullName}}</div>
<div class="item" data-value="{{.ID}}" title="{{.FullName}}">{{.FullName}}</div>
{{end}}
</div>
</div>
@ -80,7 +80,7 @@
<div class="required field">
<label for="source_branch_name">{{ctx.Locale.Tr "repo.issues.base_branch"}}</label>
<div class="ui selection dropdown">
<div class="ui selection dropdown ellipsis-items-nowrap">
<input type="hidden" name="source_branch_name" value="{{.Issue.Repo.DefaultBranch}}">
<div class="text">
<strong id="repo-branch-current">{{.Issue.Repo.DefaultBranch}}</strong>
@ -88,7 +88,7 @@
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
<div class="menu">
{{range .Branches}}
<div class="item" data-value="{{.}}">{{.}}</div>
<div class="item" data-value="{{.}}" title="{{.}}">{{.}}</div>
{{end}}
</div>
</div>