Repository navigation
Stop the site scrolling sideways on phones - #13
Merged
Merged
Conversation
At 375px the home page was 445px wide. The nav row (brand, beta chip, theme toggle, Download) didn't fit, and the hero's app-window mock let its tab bar and findings widen the grid track. The "why" mock's long identifiers widened its column too. - Nav: below 560px, hide the nav beta chip (the hero shows it) and shrink Download to its icon; below 760px, put back the side gutter the row's padding was wiping out. - Hero mock: constrain the grid track, wrap the tabs onto their own row below 760px, and on phones move tags, SDK source classes and byte counts onto a second line. Long identifiers, hosts and paths wrap. - Install terminals wrap on phones instead of scrolling sideways. - privacy.html: hostnames and paths in code wrap on phones, and the endpoint table tightens below 360px. about.html: bare URLs wrap. Desktop layout is unchanged: every element box matches the original at 820, 1024, 1280 and 1440px. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
website-privacycommand | 51c2afb | Commit Preview URL Branch Preview URL |
Oct 09 2026, 01:52 AM |
adamXbot
added a commit
that referenced
this pull request
Oct 9, 2026
- The extra "Command line" nav link made index.html scroll sideways between 761 and 797px (found while fixing #13). The links now collapse below 841px instead of 761px, and nav labels no longer wrap ("Command line" broke onto two lines at 841px). Measured: no horizontal overflow at any of 33 widths from 320 to 1440px, and the links stay on one line from 841px up. - The CLI section said the tool never runs the upgrade itself; `privacycommand upgrade --max-risk` now can, so the copy describes it, and the featureList entry mentions risk-gated upgrades. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
adamXbot
added a commit
that referenced
this pull request
Oct 9, 2026
* copy: add the privacycommand command-line tool The app now carries a command-line tool of the same name, with tab completion (privacykey/privacycommand#28, #29). The site still called it auditctl in one place and said nothing else about it. - New "Command line" section between Features and FAQ, with a terminal mock built from real output, linked from the header and footer nav. - Homebrew and DMG install cards say how each puts the tool on PATH; the source card uses the new name and its "Build guide" link points at CONTRIBUTING.md (the README has no #build-from-source anchor). - New FAQ entry "Can I use it from Terminal or in CI?", mirrored in the FAQPage JSON-LD, plus a featureList entry. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Keep the nav on one line with the Command line link; mention upgrade - The extra "Command line" nav link made index.html scroll sideways between 761 and 797px (found while fixing #13). The links now collapse below 841px instead of 761px, and nav labels no longer wrap ("Command line" broke onto two lines at 841px). Measured: no horizontal overflow at any of 33 widths from 320 to 1440px, and the links stay on one line from 841px up. - The CLI section said the tool never runs the upgrade itself; `privacycommand upgrade --max-risk` now can, so the copy describes it, and the featureList entry mentions risk-gated upgrades. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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.
At phone widths the home page was 445px wide, so it scrolled sideways and the browser zoomed out to fit. This makes every page exactly the viewport width from 320px up, and leaves desktop layout untouched.
Before and after
document.documentElement.scrollWidthonmain(before) and this branch (after):In the mobile emulator,
innerWidthat 375px went from 445 (zoomed out) to 375.Causes and fixes
aria-label. Below 760px the nav gets back the 24px side gutter, whichnav.topnav .row { padding: 12px 0 }was wiping out and leaving the brand flush with the screen edge.autocolumn grew to the tab bar's width (about 700px). The track is nowminmax(0, 1fr). Below 760px the tabs wrap onto their own row under the logo. On phones, finding tags, SDK source classes and byte counts move onto a second line. Long identifiers, hostnames and paths wrap; the window was already clipping them, so they were cut off.NSPrivacyAccessedAPICategory…identifiers widened the two-column grid track to 370px. The grid children getmin-width: 0and the identifiers wrap.codehostnames and paths wrap on phones. Below 360px the endpoint table tightens its cells and hyphenates prose, but never insidecode.How it was checked
overflowancestor.span.btn-labelwrapper inside the nav Download button.Not changed here (possible follow-ups)
🤖 Generated with Claude Code