1
1
mirror of https://github.com/go-gitea/gitea synced 2025-09-13 12:18:13 +00:00

Vertically center date in file view latest commit (#35456)

This commit is contained in:
silverwind
2025-09-10 22:20:23 +02:00
committed by GitHub
parent 4d43d85941
commit 593a52c2f0

View File

@@ -17,7 +17,7 @@
{{template "repo/latest_commit" .}} {{template "repo/latest_commit" .}}
{{if .LatestCommit}} {{if .LatestCommit}}
{{if .LatestCommit.Committer}} {{if .LatestCommit.Committer}}
<div class="text grey age"> <div class="text grey age flex-text-block">
{{DateUtils.TimeSince .LatestCommit.Committer.When}} {{DateUtils.TimeSince .LatestCommit.Committer.When}}
</div> </div>
{{end}} {{end}}