File tree 2 files changed +7
-6
lines changed 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 49
49
{{svg "octicon-file-submodule" 16}}
50
50
{{$refURL := $commit.RefURL AppUrl $.Repository.FullName}}
51
51
{{if $refURL}}
52
- <a class="flex-0" href="{{$refURL}}">{{$entry.Name}}</a><span class="at">@</span><a class="flex-1" href="{{$refURL}}/commit/{{$commit.RefID}}">{{ShortSha $commit.RefID}}</a>
52
+ <a href="{{$refURL}}">{{$entry.Name}}</a><span class="at">@</span><a href="{{$refURL}}/commit/{{$commit.RefID}}">{{ShortSha $commit.RefID}}</a>
53
53
{{else}}
54
54
{{$entry.Name}}<span class="at">@</span>{{ShortSha $commit.RefID}}
55
55
{{end}}
58
58
{{$subJumpablePathName := $entry.GetSubJumpablePathName}}
59
59
{{$subJumpablePath := SubJumpablePath $subJumpablePathName}}
60
60
{{svg "octicon-file-directory" 16}}
61
- <a class="flex-1" href="{{EscapePound $.TreeLink}}/{{EscapePound $subJumpablePathName}}" title="{{$subJumpablePathName}}">
61
+ <a href="{{EscapePound $.TreeLink}}/{{EscapePound $subJumpablePathName}}" title="{{$subJumpablePathName}}">
62
62
{{if eq (len $subJumpablePath) 2}}
63
63
<span class="jumpable-path">{{index $subJumpablePath 0}}</span>{{index $subJumpablePath 1}}
64
64
{{else}}
67
67
</a>
68
68
{{else}}
69
69
{{svg (printf "octicon-%s" (EntryIcon $entry)) 16}}
70
- <a class="flex-1" href="{{EscapePound $.TreeLink}}/{{EscapePound $entry.Name}}" title="{{$entry.Name}}">{{$entry.Name}}</a>
70
+ <a href="{{EscapePound $.TreeLink}}/{{EscapePound $entry.Name}}" title="{{$entry.Name}}">{{$entry.Name}}</a>
71
71
{{end}}
72
72
{{end}}
73
73
</span>
74
74
</td>
75
75
<td class="message nine wide">
76
76
<span class="truncate">
77
- <a class="flex-1" href="{{$.RepoLink}}/commit/{{$commit.ID}}" title="{{$commit.Summary}}">{{$commit.Summary | RenderEmoji}}</a>
77
+ <a href="{{$.RepoLink}}/commit/{{$commit.ID}}" title="{{$commit.Summary}}">{{$commit.Summary | RenderEmoji}}</a>
78
78
</span>
79
79
</td>
80
80
<td class="text right age three wide">{{TimeSince $commit.Committer.When $.Lang}}</td>
Original file line number Diff line number Diff line change 362
362
}
363
363
364
364
.truncate {
365
- display : inline-flex ;
366
- align-items : center ;
365
+ display : inline-block ;
367
366
overflow : hidden ;
368
367
text-overflow : ellipsis ;
369
368
white-space : nowrap ;
370
369
width : 100% ;
370
+ padding-top : 8px ;
371
+ padding-bottom : 8px ;
371
372
}
372
373
373
374
a {
You can’t perform that action at this time.
0 commit comments