Compact language picker preview#50
Merged
vincentkoc merged 2 commits intoJun 17, 2026
Merged
Conversation
c88a505 to
62a4d02
Compare
62a4d02 to
184315c
Compare
Member
|
Land-ready after maintainer review. Summary:
Verification:
|
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.
Summary
Compacts the docs language picker while keeping the current visual treatment. The preview build now renders 20 mock locale entries so the scroll state is easy to evaluate before real translated pages are wired in.
The proposed language menu also removes the visible scrollbar track background, leaving only the thumb over the menu surface.
Screenshots
Compact, after first adjustment:
Previously oversized:
New scrollbar treatment proposed in this PR:
Validation
git diff --check HEAD~1..HEADDOCS_SITE_PREVIEW_INCLUDE_FIXTURE=1 npm run docs:build:previewDOCS_SITE_ARTIFACT_MODE=shell DOCS_SITE_PREVIEW_LOCALE=en DOCS_SITE_PREVIEW_PAGES_PER_GROUP=8 DOCS_SITE_PREVIEW_MAX_PAGES=220 DOCS_SITE_PREVIEW_INCLUDE_FIXTURE=1 node scripts/docs-site/build.mjsnpm run docs:visual