Skip to content

Commit f207d82

Browse files
committed
limit branch name length
1 parent b074def commit f207d82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/shared/issuelist.tmpl

+2-2
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@
9898
</a>
9999
{{end}}
100100
{{if .Ref}}
101-
<a class="ref flex-text-inline" {{if $.RepoLink}}href="{{index $.IssueRefURLs .ID}}"{{else}}href="{{.Repo.Link}}{{index $.IssueRefURLs .ID}}"{{end}}>
102-
{{svg "octicon-git-branch" 14}}{{index $.IssueRefEndNames .ID}}
101+
<a class="ref flex-text-inline tw-max-w-[250px]" {{if $.RepoLink}}href="{{index $.IssueRefURLs .ID}}"{{else}}href="{{.Repo.Link}}{{index $.IssueRefURLs .ID}}"{{end}}>
102+
<span class="gt-ellipsis">{{svg "octicon-git-branch" 14}}{{index $.IssueRefEndNames .ID}}</span>
103103
</a>
104104
{{end}}
105105
{{$tasks := .GetTasks}}

0 commit comments

Comments
 (0)