Skip to content

Fix active route CSS issue for Overview link in TOC #1210

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

Merged
merged 1 commit into from
Jun 27, 2025

Conversation

rabikr
Copy link
Contributor

@rabikr rabikr commented Jun 27, 2025

This commit resolves a styling issue where the "Overview" link in the table of contents was not highlighted when navigating to /solid-router or /solid-start. The problem stemmed from a missing trailing slash in the URL, causing the active route matching logic to fail. As a result, users could not easily identify their current section, leading to confusion during navigation.

  • I have read the Contribution guide
  • This PR references an issue (except for typos, broken links, or other minor problems)

Description(required)

Related issues & labels

  • Closes #
  • Suggested label(s) (optional):

This commit resolves a styling issue where the "Overview" link in the table of contents was not highlighted when navigating to /solid-router or /solid-start.
The problem stemmed from a missing trailing slash in the URL, causing the active route matching logic to fail. As a result, users could not easily identify their current section, leading to confusion during navigation.
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link

netlify bot commented Jun 27, 2025

Deploy Preview for solid-docs ready!

Name Link
🔨 Latest commit 5d3815e
🔍 Latest deploy log https://app.netlify.com/projects/solid-docs/deploys/685e333a123f4900081c0c42
😎 Deploy Preview https://deploy-preview-1210--solid-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Member

@LadyBluenotes LadyBluenotes left a comment

Choose a reason for hiding this comment

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

Good catch, thank you!

@LadyBluenotes LadyBluenotes merged commit 458dbf0 into solidjs:main Jun 27, 2025
7 checks passed
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