- Gitea version: 1.12.2
- Git version:
- Operating system:
- Database (use
[x]):
- Can you reproduce the bug at https://try.gitea.io:
- Log gist:
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#L488
Screenshots

[x]):Description
The hyperlinks inside review comments in pull request get the
.text.greyclass 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