aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorLucas Azevedo <lhs_azevedo@hotmail.com>2022-07-22 07:49:24 -0300
committerGitHub <noreply@github.com>2022-07-22 18:49:24 +0800
commit599ae09a94e40f9ef567aa2ec7486f68a64a3384 (patch)
treed478345452d1f2a0ea71dfc6642dd4b9237c3322 /modules
parent1a70fc9bc6668e07a19dd6715fbfe0f24b5b6db1 (diff)
downloadgitea-599ae09a94e40f9ef567aa2ec7486f68a64a3384.tar.gz
gitea-599ae09a94e40f9ef567aa2ec7486f68a64a3384.zip
Use body text color in repository files table links (#20386)
Use body text color in for links in the repository files table Issue/PR links (`.ref-issue`) will not be affected, as seen in other git services. Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to 'modules')
-rw-r--r--modules/markup/html.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/markup/html.go b/modules/markup/html.go
index 6071180501..a5606dbb51 100644
--- a/modules/markup/html.go
+++ b/modules/markup/html.go
@@ -1176,7 +1176,7 @@ func genDefaultLinkProcessor(defaultLink string) processor {
node.DataAtom = atom.A
node.Attr = []html.Attribute{
{Key: "href", Val: defaultLink},
- {Key: "class", Val: "default-link"},
+ {Key: "class", Val: "default-link muted"},
}
node.FirstChild, node.LastChild = ch, ch
}