Enhance visibility of toc active link style with underline#4934
Enhance visibility of toc active link style with underline#4934clicktodev wants to merge 2 commits intofacebook:mainfrom
Conversation
✅ Deploy Preview for react-native ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
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. |
|
looks like infima wants to implement the design from fumadocs but there's no clear plan on when it's gonna be implemented. |
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