Repository navigation
Fix the reference sidebar and scrolling, table line breaks and the mobile menu - #242
Merged
guanzhousongmicrosoft merged 4 commits intoNov 6, 2026
Conversation
trailingSlash: true gives usePathname() a trailing slash that the sidebar's hrefs lack, so no entry has matched since, and the sidebar never scrolled to the current one. Signed-off-by: Guanzhou Song <26541184+GuanzhouSong@users.noreply.github.com>
The 100vh pane started below the banner and navbar, so its last ~100px sat below the fold, the window and the article scrolled separately, and the navbar covered the pane's top once the window moved. Signed-off-by: Guanzhou Song <26541184+GuanzhouSong@users.noreply.github.com>
react-markdown prints raw HTML as text, so the $densify Limitations table showed literal <br>. Only <br> is converted; other HTML stays escaped. Signed-off-by: Guanzhou Song <26541184+GuanzhouSong@users.noreply.github.com>
The open menu had no height limit inside the sticky nav, so on short screens its last links were out of reach. It also stayed open after Escape, the logo, or Back. Signed-off-by: Guanzhou Song <26541184+GuanzhouSong@users.noreply.github.com>
guanzhousongmicrosoft
approved these changes
Nov 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What visitors hit on documentdb.io today:
trailingSlash: truegivesusePathname()a trailing slash that the sidebar's hrefs lack, so no entry has matched since, and the list never scrolls to the page you're on ($ranksat about 2,300px down).$densifyshows literal<br>in a table. react-markdown prints raw HTML as text. Only<br>becomes a break;rehype-rawwould let docs inject any HTML.dvhconstant because the banner above it wraps to two lines on narrow phones.$pulland$minDistanceare broken in the source Markdown: documentdb/docs#93.Checked in headless Edge from 320×568 to 1440 wide, with no console or hydration errors.