Skip to content

Commit 71aa21e

Browse files
committed
title tweaks
1 parent 74a04ac commit 71aa21e

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

templates/repo/release/list.tmpl

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,15 @@
104104
{{end}}
105105
</div>
106106
{{else}}
107-
<h3 class="release-list-title">
108-
<a href="{{$.RepoLink}}/releases/tag/{{.TagName | EscapePound}}">{{.Title}}</a>
109-
{{if $.CanCreateRelease}}<small>(<a href="{{$.RepoLink}}/releases/edit/{{.TagName | EscapePound}}" rel="nofollow">{{$.i18n.Tr "repo.release.edit"}}</a>)</small>{{end}}
107+
<h3 class="release-list-title df ac">
108+
<a href="{{$.RepoLink}}/releases/tag/{{.TagName | EscapePound}}">
109+
{{.Title}}
110+
</a>
111+
{{if $.CanCreateRelease}}
112+
<small class="ml-2">
113+
(<a href="{{$.RepoLink}}/releases/edit/{{.TagName | EscapePound}}" rel="nofollow">{{$.i18n.Tr "repo.release.edit"}}</a>)
114+
</small>
115+
{{end}}
110116
</h3>
111117
<p class="text grey">
112118
<span class="author">

web_src/less/_repository.less

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1922,8 +1922,9 @@
19221922
padding-top: 15px;
19231923

19241924
.release-list-title {
1925-
font-size: 1.5rem;
1925+
font-size: 2rem;
19261926
font-weight: normal;
1927+
margin-top: -6px;
19271928
}
19281929

19291930
> li {

0 commit comments

Comments
 (0)