Skip to content

Fixed hover background color issue #539

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

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

hfactor13
Copy link

I fixed the hover background issue for the Translation Guide for the Python Packaging Guide (Issue #532). I also ran the nox docs-test command, and everything came back successful. Feel free to let me know if there's anything else I should include with this pull request.

@hfactor13
Copy link
Author

I just realized that in the dark mode, the hover text looks a little bit hard to read, so I might edit that as well so that it is consistent across both light and dark modes.

@tkoyama010 tkoyama010 requested a review from Copilot July 12, 2025 19:31
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR addresses the hover background color issue in the Translation Guide’s interactive graph by explicitly setting hover label styling.

  • Added hoverlabel_bgcolor to ensure hover labels have a visible background.
  • Added hoverlabel_font_color to guarantee hover text is readable.
  • Verified that no docs tests were broken by running nox docs-test.

hfactor13 and others added 3 commits July 12, 2025 14:49
Removed extra white space.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Used CSS variable instead of hardcoded "white" value.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@lwasser
Copy link
Member

lwasser commented Jul 12, 2025

@all-contributors please add @hfactor13 for code, review

Copy link
Contributor

@lwasser

I've put up a pull request to add @hfactor13! 🎉

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.

3 participants