Skip to content

Mobile home: fit the wordmark, spine rows, 44px targets - #34

Open
fromknowware wants to merge 1 commit into
mainfrom
mobile/home
Open

fromknowware wants to merge 1 commit into
mainfrom
mobile/home

Conversation

@fromknowware

Copy link
Copy Markdown
Owner

Part of the mobile audit (#33), area: home (/). Rows H1–H4 in drafts/mobile/AUDIT.md.

What was wrong (true device emulation)

  • KNOWWARE wordmark: clamp(64px,15vw,220px); the 64px floor makes the word 392px wide, so the last letter is cut at 320–390px and the page overflows by 17–72px (the only page-level overflow besides /read/NN, hidden by overflow-x:hidden).
  • Spine chart: nine columns 33px wide (tap targets), titles rotated and truncated ("The Coordina…").
  • Pause motion button 120×35 inside the strip; "What is knowware? →" links 16px tall; "Read manuscript" 28px; 11px labels.

Changes

  • Hero: below 601px font-size: calc((100vw - 32px)/6.3) so the word fits at any width (desktop unchanged).
  • Spine on phones (≤600px): rows with full title, chNN, and the bar kept as a hairline whose width is the page count (--h custom property replaces the inline height; desktop bars unchanged). 56px targets.
  • Marquee strip 45px tall so Pause motion is a 44px+ target; Disclosure links are 44px targets with a text-decoration underline; masthead / marquee code / spine labels 12px.

Before / after (320, 375, 430)

home

Test plan

  • scripts/mobile-check.mjs (from Mobile audit + emulation check tool (dev only) #33) on / at 320, 360, 375, 390, 430, 844×390, 768×1024: no overflow; spine, marquee pause, intro links and "Read manuscript" no longer listed
  • Remaining failures on / are shared components fixed in other PRs: nav tabs and footer email (Mobile: nav menu, dismissible dock bar, safe-area insets #32), .kw-btn 41px (controls PR)
  • Wordmark fits at 320, 375, 430 (screenshots above); desktop layout untouched (media queries only, bar chart rule scoped to ≤600px)
  • Check on a real iPhone/Android: wordmark fallback font (Helvetica Neue on iOS, Arial/Roboto elsewhere) has a different width; it is sized with ~7% slack

🤖 Generated with Claude Code

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
knowware-book 47aded7 Oct 20 2026, 12:52 AM

…x marquee and intro targets

The wordmark's 64px minimum made the text 392px wide: the last letter was cut
and the page overflowed at every phone width. Below 601px it is now sized from
the width it has. The nine 33px spine columns with rotated truncated titles
become nine 56px rows with the full chapter title and a hairline bar (page
count). The Pause motion button sits in a 45px strip; the 'What is knowware?'
links and 'Read manuscript' are 44px targets; labels are 12px.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants