Hyperlinks in comments to source code in pull request are rendered grey, they are difficult to spot #12995
Closed
2 of 7 tasks
Labels
good first issue
Likely to be an easy fix
hacktoberfest
topic/ui
Change the appearance of the Gitea UI
type/bug
[x]
):Description
The hyperlinks inside review comments in pull request get the
.text.grey
class and the hyperlink are hard to see.If you go to the Files Changed section of the pull request, you'll see that the style of the hyperlink is blue, so it is easy to read.
However, if you go to the Conversation tab of the same pull request, it's hard to realize that this is a hyperlink because it's almost black and matches the color of the surrounding text. That happens because the
<a href="...">
tag is inside a<span class="text grey">
tag as you can see here:It seems to me that there is an error with the ending tag of the
<span class="text grey">
tag. Notice that there are also block elements (like<div>
) inside the<span>
, which are not allowed in an inline element like<span>
anyway. See https://github.com/go-gitea/gitea/blob/master/templates/repo/issue/view_content/comments.tmpl#L488Screenshots
The text was updated successfully, but these errors were encountered: