Skip to content

fix(mobile): keep landscape timeline row labels on a single line#241

Merged
justmarks merged 1 commit intomainfrom
claude/fix-pwa-rotation-55bRb
May 9, 2026
Merged

fix(mobile): keep landscape timeline row labels on a single line#241
justmarks merged 1 commit intomainfrom
claude/fix-pwa-rotation-55bRb

Conversation

@justmarks
Copy link
Copy Markdown
Owner

Summary

After #240 widened the timeline to fill the rotated viewport, the sticky-left row label column stayed at 5rem — too narrow for ACTIVITIES / TRANSPORT + their icon, so the browser broke the labels into vertical letter-stacks (one character per line). Two fixes:

  • Bump the landscape label column from 5rem7rem so the longest label (ACTIVITIES, 10 chars uppercase + tracking-wider) fits beside its 4×4 icon without wrapping.
  • Add whitespace-nowrap to the label span and shrink-0 to the icon as a guard, so a future longer label gets clipped by the column boundary rather than re-introducing the vertical letter-stack.

Test plan

  • Mobile timeline in landscape: row labels (TRANSPORT, LODGING, ACTIVITIES, DINING) render on single lines next to their icons.
  • Few-day trip in landscape still expands day columns edge-to-edge (regression check on feat(mobile): expand timeline edge-to-edge in landscape, rename install CTA #240).
  • Many-day trip in landscape still scrolls horizontally with 7rem per day column.
  • Portrait unchanged — label column stays at 3rem, icon-only.

https://claude.ai/code/session_01H5kv9m5n8eYqwnyGZzvgTW


Generated by Claude Code

@vercel
Copy link
Copy Markdown

vercel Bot commented May 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
itinly Ready Ready Preview, Comment May 9, 2026 4:14pm

After widening the timeline to fill the rotated viewport in #240, the
sticky-left row label column stayed at 5rem — too narrow for
"ACTIVITIES" / "TRANSPORT" + icon, so the browser broke the labels
into vertical letter-stacks (one character per line). Two fixes:

- Bump the landscape label column from 5rem to 7rem so the longest
  label ("ACTIVITIES", 10 chars uppercase + tracking-wider) fits
  beside its 4×4 icon without wrapping.
- Add `whitespace-nowrap` to the label span and `shrink-0` to the
  icon as a guard so even if a future label runs longer the column
  boundary clips the overflow rather than re-introducing the
  letter-stack.

https://claude.ai/code/session_01H5kv9m5n8eYqwnyGZzvgTW
@justmarks justmarks force-pushed the claude/fix-pwa-rotation-55bRb branch from 43821b0 to aa67865 Compare May 9, 2026 16:13
@justmarks justmarks merged commit 48f66f5 into main May 9, 2026
3 checks passed
@justmarks justmarks deleted the claude/fix-pwa-rotation-55bRb branch May 9, 2026 16:16
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