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

Fixed: userInfo popup not showing on crossposts #5393

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Crul
Copy link

@Crul Crul commented Apr 25, 2022

In crossposted posts the user tag was not visible and the user info popup didn't show when hovering. See screenshot: https://i.imgur.com/MlAPJFT.png

The cause was that the element with CSS-class "tagline" is a <p> in normal posts, but it's a <div> in crospossted elements. Removing the element type in usernameSelector fixes this.

Another option would be to keep p.tagline a.author and add div.tagline a.author.

Let me know if I missed anything and feel free to reject this PR and apply the fix on your own if that's easier.
Thanks.

In crossposted posts the user tag was not visible and the user info popup didn't show when hovering. See screenshot: https://i.imgur.com/MlAPJFT.png

The cause was that the element with CSS-class "tagline" is a <p> in normal posts, but it's a <div> in crospossted elements. Removing the element type on usernameSelector fixes this.

Another option would be to keep "p.tagline a.author" and add "div.tagline a.author".
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

1 participant