Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hyperlinks in comments to source code in pull request are rendered grey, they are difficult to spot #12995

Closed
2 of 7 tasks
shaoran opened this issue Oct 1, 2020 · 1 comment
Labels
good first issue Likely to be an easy fix hacktoberfest topic/ui Change the appearance of the Gitea UI type/bug

Comments

@shaoran
Copy link

shaoran commented Oct 1, 2020

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

hyperlink-test-side-by-side

@jolheiser jolheiser added type/bug topic/ui Change the appearance of the Gitea UI labels Oct 1, 2020
@mrsdizzie mrsdizzie added the good first issue Likely to be an easy fix label Oct 1, 2020
@mrsdizzie
Copy link
Member

Closed by linked pr

@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Likely to be an easy fix hacktoberfest topic/ui Change the appearance of the Gitea UI type/bug
Projects
None yet
Development

No branches or pull requests

4 participants