Skip to content

Conversation

@clicktodev
Copy link
Contributor

@clicktodev clicktodev commented Dec 20, 2025

Improve the visual style of the table of contents links by adding an underline to active links for better user experience.

before

Screen.Recording.2025-12-20.at.6.38.46.PM.mp4

after

Screen.Recording.2025-12-20.at.7.08.15.PM.mp4

@meta-cla meta-cla bot added the CLA Signed label Dec 20, 2025
@clicktodev clicktodev changed the title Enhance table of contents link style with underline Enhance visibility of toc active link style with underline Dec 20, 2025
@netlify
Copy link

netlify bot commented Dec 20, 2025

Deploy Preview for react-native ready!

Name Link
🔨 Latest commit 06860d1
🔍 Latest deploy log https://app.netlify.com/projects/react-native/deploys/6946e1328723c70008e66b00
😎 Deploy Preview https://deploy-preview-4934--react-native.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.

@Simek
Copy link
Collaborator

Simek commented Dec 22, 2025

Hey @clicktodev, thanks for proposing that idea! 👍

Ideally, we want to align React Native and React websites as close as possible. On react.dev we use alternate background color, but the shape overall look of the styling looks better in content container layout is stretched to the full viewport (as seen on react.dev).

In the past, we have tried to apply this to layout to React Native website too, but were not fully happy with effect, since Docusaurus/Infinima were applying so conditional spacing on multiple nest levels which was a bit hard to fully control and overwrite.

Let's see what's the take of Docusuaurus team on the underline decoration, and if the change lands in Infinima we should consider landing it here too, at least for some time until we figure out better layouting approach.

@clicktodev
Copy link
Contributor Author

looks like infima wants to implement the design from fumadocs but there's no clear plan on when it's gonna be implemented.
i suggest we merge this and then i can work on a PR that implements the fuma design.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants