diff --git a/public/css/gogs.css b/public/css/gogs.css index 7a15cb3af..0c76c3ef3 100755 --- a/public/css/gogs.css +++ b/public/css/gogs.css @@ -1868,9 +1868,6 @@ footer .container .links > *:first-child { margin-bottom: -4px; width: 400px; } -.repository.file.list #repo-files-table thead th .age { - margin-top: 2px; -} .repository.file.list #repo-files-table thead .ui.avatar { margin-bottom: 5px; } @@ -2243,25 +2240,6 @@ footer .container .links > *:first-child { font-weight: normal; padding: 5px 10px; } -.repository .commits.table { - font-size: 13px; -} -.repository .commits.table th:first-child, -.repository .commits.table td:first-child { - padding-left: 15px; -} -.repository .commits.table td { - line-height: 15px; -} -.repository .commits.table .author { - min-width: 180px; -} -.repository .commits.table .message span { - max-width: 500px; -} -.repository .commits.table .date { - width: 120px; -} .repository .diff-detail-box { margin: 15px 0; line-height: 30px; diff --git a/templates/repo/commits_table.tmpl b/templates/repo/commits_table.tmpl index 77d0b0219..db89521ff 100644 --- a/templates/repo/commits_table.tmpl +++ b/templates/repo/commits_table.tmpl @@ -19,9 +19,9 @@
{{.i18n.Tr "repo.commits.author"}} | - -{{.i18n.Tr "repo.commits.date"}} | +{{.i18n.Tr "repo.commits.author"}} | + +{{.i18n.Tr "repo.commits.date"}} | {{TimeSince .Author.When $.Lang}} | +{{TimeSince .Author.When $.Lang}} | {{end}}
---|