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

improve graph theme support #2300

Merged
merged 1 commit into from
Feb 11, 2022
Merged

improve graph theme support #2300

merged 1 commit into from
Feb 11, 2022

Conversation

TrimmingFool
Copy link
Contributor

The legend of the speed and traffic graphs did not look good in dark themes and was not customizable.

They can now be customized with the classes: graph_tab_grid graph_tab_legend graph_tab_tooltip

In order to be able to read the styles properly, I added hidden elements to the DOM
with the classes graph_tab_grid graph_tab_legend

.addClass('graph_tab_tooltip')
.text(contents)
.css( {
position: 'absolute',
Copy link
Owner

Choose a reason for hiding this comment

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

Maybe we should move 'position' to the class definition too?

@Novik Novik merged commit 6ef8301 into Novik:master Feb 11, 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.

2 participants