diff options
author | Lucas Azevedo <lhs_azevedo@hotmail.com> | 2022-07-22 07:49:24 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-22 18:49:24 +0800 |
commit | 599ae09a94e40f9ef567aa2ec7486f68a64a3384 (patch) | |
tree | d478345452d1f2a0ea71dfc6642dd4b9237c3322 /modules | |
parent | 1a70fc9bc6668e07a19dd6715fbfe0f24b5b6db1 (diff) | |
download | gitea-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.go | 2 |
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 } |