|
28 | 28 | {{- end -}} |
29 | 29 | </a> |
30 | 30 | </span> |
31 | | - <span class="message df ac mr-2">{{RenderCommitMessage $commit.Subject $.RepoLink $.Repository.ComposeMetas}}</span> |
| 31 | + <span class="message dib ellipsis mr-2"> |
| 32 | + <span>{{RenderCommitMessage $commit.Subject $.RepoLink $.Repository.ComposeMetas}}</span> |
| 33 | + </span> |
32 | 34 | <span class="tags df ac"> |
33 | 35 | {{range $commit.Refs}} |
34 | 36 | {{$refGroup := .RefGroup}} |
35 | 37 | {{if eq $refGroup "pull"}} |
36 | 38 | {{if or (not $.HidePRRefs) (containGeneric $.SelectedBranches .Name)}} |
37 | 39 | <!-- it's intended to use issues not pulls, if it's a pull you will get redirected --> |
38 | | - <a class="ui labelled icon button basic tiny" href="{{$.RepoLink}}/{{if $.Repository.UnitEnabled $.UnitTypePullRequests}}pulls{{else}}issues{{end}}/{{.ShortName|PathEscape}}"> |
| 40 | + <a class="ui labelled icon button basic tiny mr-2" href="{{$.RepoLink}}/{{if $.Repository.UnitEnabled $.UnitTypePullRequests}}pulls{{else}}issues{{end}}/{{.ShortName|PathEscape}}"> |
39 | 41 | {{svg "octicon-git-pull-request" 16 "mr-2"}}#{{.ShortName}} |
40 | 42 | </a> |
41 | 43 | {{end}} |
42 | 44 | {{else if eq $refGroup "tags"}} |
43 | | - <a class="ui labelled icon button basic tiny" href="{{$.RepoLink}}/src/tag/{{.ShortName|PathEscape}}"> |
| 45 | + <a class="ui labelled icon button basic tiny mr-2" href="{{$.RepoLink}}/src/tag/{{.ShortName|PathEscape}}"> |
44 | 46 | {{svg "octicon-tag" 16 "mr-2"}}{{.ShortName}} |
45 | 47 | </a> |
46 | 48 | {{else if eq $refGroup "remotes"}} |
47 | | - <a class="ui labelled icon button basic tiny" href="{{$.RepoLink}}/src/commit/{{$commit.Rev|PathEscape}}"> |
| 49 | + <a class="ui labelled icon button basic tiny mr-2" href="{{$.RepoLink}}/src/commit/{{$commit.Rev|PathEscape}}"> |
48 | 50 | {{svg "octicon-cross-reference" 16 "mr-2"}}{{.ShortName}} |
49 | 51 | </a> |
50 | 52 | {{else if eq $refGroup "heads"}} |
51 | | - <a class="ui labelled icon button basic tiny" href="{{$.RepoLink}}/src/branch/{{.ShortName|PathEscape}}"> |
| 53 | + <a class="ui labelled icon button basic tiny mr-2" href="{{$.RepoLink}}/src/branch/{{.ShortName|PathEscape}}"> |
52 | 54 | {{svg "octicon-git-branch" 16 "mr-2"}}{{.ShortName}} |
53 | 55 | </a> |
54 | 56 | {{else}} |
|
0 commit comments