-
Notifications
You must be signed in to change notification settings - Fork 72
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
base: main
Are you sure you want to change the base?
Conversation
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. |
…with hoverlabel_bgcolor keyword argument
There was a problem hiding this 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
.
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>
@all-contributors please add @hfactor13 for code, review |
I've put up a pull request to add @hfactor13! 🎉 |
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.