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

Highlight the title of the current page in the sidebar #10

Closed
asoplata opened this issue Jan 31, 2025 · 3 comments
Closed

Highlight the title of the current page in the sidebar #10

asoplata opened this issue Jan 31, 2025 · 3 comments

Comments

@asoplata
Copy link
Collaborator

Currently, if I click to a specific page on the new website, it takes me to a new page with the content. However, the left sidebar does not display where I am, compared to the rest of the content. In this case, the sidebar should do the following:

  1. Auto-expand any parent toggles of the current sub-page
  2. Highlight (maybe a different color than the mouseover? like bold?) the current page to show where I am, similar to:

Image

@dylansdaniels
Copy link
Owner

Good Idea. I don't know how I feel about their use of the vertical line to indicate the current location though. We currently have the color change on hover - do you think we could leave the section expanded with the current page colored, but also bolded so that it's differentiated?

@dylansdaniels
Copy link
Owner

@asoplata the functionality of this is addressed by commit 89e0eff

What do you think of the style I went with for identifying the current page?

@asoplata
Copy link
Collaborator Author

asoplata commented Feb 6, 2025

LGTM, closing

@asoplata asoplata closed this as completed Feb 6, 2025
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