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

On Hover property remained active even if the section/page is changed for the same session #4413

Closed
Fashad-Ahmed opened this issue Sep 8, 2022 · 1 comment

Comments

@Fashad-Ahmed
Copy link

What docs page needs to be fixed?

image

What is the problem?

The hovering property on several navigation and section links remained colored even if they were not the present visited section/page. The one which are clicked remained purple even if visited page is closed in next tab.

What should be changed to fix the problem?

The currently visited page navigation link/navigation section should remained purple other than it the previously visited section/navigation links shouldn't remained colored for the same session.

@timdorr
Copy link
Member

timdorr commented Sep 8, 2022

This is intentional. We are styling the :visited state to enable you to track content you've already viewed:

a:visited {
color: var(--ifm-color-primary);
}

@timdorr timdorr closed this as completed Sep 8, 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

No branches or pull requests

2 participants