diff --git a/templates/repo/pulls/commits_list.tmpl b/templates/repo/pulls/commits_list.tmpl index bee37cff63..ecd72e7dec 100644 --- a/templates/repo/pulls/commits_list.tmpl +++ b/templates/repo/pulls/commits_list.tmpl @@ -88,7 +88,7 @@ -
+
{{if .Committer}}{{DateUtils.TimeSince .Committer.When}}{{else}}{{DateUtils.TimeSince .Author.When}}{{end}}
diff --git a/web_src/css/repo/commit-list.css b/web_src/css/repo/commit-list.css index 829f83b0de..9f8f57492d 100644 --- a/web_src/css/repo/commit-list.css +++ b/web_src/css/repo/commit-list.css @@ -27,6 +27,7 @@ justify-self: end; max-width: 16ch; white-space: nowrap; + text-align: right; overflow: hidden; text-overflow: ellipsis; }