Repository navigation
Show the archive menu on small screens too - #3283
Merged
Merged
Conversation
The site header hides its menu below 1280px because the full live menu only fits on wide screens, so after the shutdown phones, tablets and smaller laptops had no way to reach the dataset, blog or about pages from the header. The four-item archive menu fits at every width, so archive mode now always shows it, with tighter spacing on phones. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@shizn is attempting to deploy a commit to the pingcap Team on Vercel. A member of the Team first needs to authorize it. |
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.
The site header hides its menu below 1280px wide (
hidden xl:block) because the full live menu only fits on wide screens, and there is no mobile menu. After the shutdown that left phones, tablets and laptops narrower than 1280px with only the logo in the header.The archive menu has four short items (Dataset, Blog, About, GitHub), so
SiteHeadergets amenuAlwaysVisibleprop that both apps set in archive mode. On phones the links usepx-2instead ofpx-3so all four fit; atsmand up the spacing is unchanged, so the live menu (shown only atxl) looks the same.Checked on CLI preview deployments of both apps with
OSSINSIGHT_SITE_MODE=archive: all four items are visible without horizontal scrolling at 360, 390, 1024 and 1440px.🤖 Generated with Claude Code