Skip to content

Commit

Permalink
Use body text color in #repo-files-table links
Browse files Browse the repository at this point in the history
  • Loading branch information
lhsazevedo committed Jul 16, 2022
1 parent 57e0bf4 commit 4a6b618
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/repo/view_list.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
{{if .LatestCommitUser}}
{{avatar .LatestCommitUser 24}}
{{if .LatestCommitUser.FullName}}
<a href="{{.LatestCommitUser.HomeLink}}"><strong>{{.LatestCommitUser.FullName}}</strong></a>
<a class="author" href="{{.LatestCommitUser.HomeLink}}"><strong>{{.LatestCommitUser.FullName}}</strong></a>
{{else}}
<a href="{{.LatestCommitUser.HomeLink}}"><strong>{{if .LatestCommit.Author}}{{.LatestCommit.Author.Name}}{{else}}{{.LatestCommitUser.Name}}{{end}}</strong></a>
<a class="author" href="{{.LatestCommitUser.HomeLink}}"><strong>{{if .LatestCommit.Author}}{{.LatestCommit.Author.Name}}{{else}}{{.LatestCommitUser.Name}}{{end}}</strong></a>
{{end}}
{{else}}
{{if .LatestCommit.Author}}
Expand Down
14 changes: 14 additions & 0 deletions web_src/less/_repository.less
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,11 @@
.ui.avatar {
margin-bottom: 5px;
}

.author,
.commit-summary a {
color: var(--color-text);
}
}

tbody {
Expand Down Expand Up @@ -364,6 +369,10 @@
width: 33%;

max-width: calc(100vw - 140px);

a {
color: var(--color-text);
}
}

&.message {
Expand All @@ -377,10 +386,15 @@
max-width: 250px;
}
width: 66%;

a:not(.ref-issue) {
color: var(--color-text-light-2);
}
}

&.age {
width: 120px;
color: var(--color-text-light-2);
}

.truncate {
Expand Down

0 comments on commit 4a6b618

Please sign in to comment.