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

Misaligned tooltip at the bottom of the privacy policy #5443

Closed
2 tasks done
unrealapex opened this issue May 25, 2024 · 4 comments
Closed
2 tasks done

Misaligned tooltip at the bottom of the privacy policy #5443

unrealapex opened this issue May 25, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@unrealapex
Copy link
Contributor

Did you clear cache before opening an issue?

  • I have cleared my cache

Is there an existing issue for this?

  • I have searched the existing issues

Does the issue happen when logged in?

Yes

Does the issue happen when logged out?

Yes

Does the issue happen in incognito mode when logged in?

Yes

Does the issue happen in incognito mode when logged out?

Yes

Account name

unrealapex

Account config

No response

Current Behavior

When hovering over the tooltip, it is center aligned away from the the text being hovered over.

Expected Behavior

The tooltip would appear right above Miodec's username.

Steps To Reproduce

  1. Go to the contact info section of the privacy policy
  2. Hover over @miodec
  3. See bug

Environment

  • OS: 6.8.9-gentoo-dist(Gentoo)
  • Browser: Firefox
  • Browser Version: Mozilla Firefox 125.0.3

Anything else?

misaligned tooltip

@extoplasm
Copy link
Contributor

extoplasm commented May 28, 2024

yea, this is because the element for the element (document.querySelector("#app > main > span")) has the ruleset

.content-grid {
    --content-max-width: 640px;
}

making this the width of the document

this is easily fixed, just make another ruleset to make this smaller something like

#app > main > span {
  max-width: fit-content;
}

@extoplasm
Copy link
Contributor

extoplasm commented May 28, 2024

#5446 might fix this, but it looks a bit wonky aswell because the balloon is not in the centre of the text.

pretty sure it might be better to make the element less wide

also, with this, you can add extra styling and make it inline, as it looks like a normal text right now

@Miodec
Copy link
Member

Miodec commented May 28, 2024

Thanks for the PR @extoplasm, however the fix here was to simply add a missing wrapping p tag.

@Miodec Miodec closed this as completed in 898278b May 28, 2024
@extoplasm
Copy link
Contributor

this is also seen in the terms of service

i made a PR :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants