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

Fix #1220, fix #1671 - Hook up comment box to the Redux comment value #1699

Merged
merged 1 commit into from
Apr 13, 2017

Conversation

Gargron
Copy link
Member

@Gargron Gargron commented Apr 13, 2017

Fix username styling regression introduced in #1063
Fix report screen background regression introduced in #1415

Fix username styling regression introduced in #1063
Fix report screen background regression introduced in #1415
Copy link
Contributor

@koboldunderlord koboldunderlord left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tiny comment, but LGTM +1

@@ -95,6 +95,6 @@ def hashtag_html(match)
end

def mention_html(match, account)
"#{match.split('@').first}<span class=\"h-card\"><a href=\"#{TagManager.instance.url_for(account)}\" class=\"u-url mention\">@#{account.username}</a></span>"
"#{match.split('@').first}<span class=\"h-card\"><a href=\"#{TagManager.instance.url_for(account)}\" class=\"u-url mention\">@<span>#{account.username}</span></a></span>"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than default span formatting, does adding here do anything? Maybe worth adding id=report-username or something like that

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, the h-card stuff has been added by microformat folks, but the span inside the a has a visual role (underline it on hover but do not underline the @ sign)

@Gargron Gargron merged commit ac54da9 into master Apr 13, 2017
@Gargron Gargron deleted the fix-report-route branch April 13, 2017 17:36
Nyoho pushed a commit to Nyoho/mathtodon that referenced this pull request Apr 25, 2017
…mastodon#1699)

Fix username styling regression introduced in #1063
Fix report screen background regression introduced in #1415
tribela pushed a commit to tribela/mastodon that referenced this pull request Feb 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants