Skip to content

Dashboard and account pages: fit a phone (360 to 414 px) - #253

Merged
MeharPro merged 1 commit into
mainfrom
fix/phone-layout
Nov 16, 2026
Merged

MeharPro merged 1 commit into
mainfrom
fix/phone-layout

Conversation

@MeharPro

Copy link
Copy Markdown
Contributor

The owner asked for the dashboard's phone layout to be fixed and for everything else to be checked on a phone. An audit rendered every collector page through the real handle(), with seeded data and long names. A second agent then re-measured each finding before any fix was made.

Dashboard

  • The header fits from 360 px.
  • Problem cards and route lists wrap.
  • Tables built by the dashboard script now sit in .tablewrap.
  • Charts draw at the phone's width, so their labels stay readable.
  • The tour's spotlight stays under the sticky header.
  • The burger drawer uses 100dvh, and its closed links leave the tab order.
  • Export gets a rail link on phones, where the product menu is hidden.

Account, billing, report, sign-in

  • Fields are 16 px on phones, so iOS no longer zooms in on focus.
  • The Apps table stacks.
  • Plan cards fold their longer feature lists behind "N more" on a phone; desktop still shows every line.
  • Long emails wrap, and the sign-in button rows wrap.
  • The report email no longer widens past the screen.

Checks

  • 249 page views, every dashboard view included, at 360, 375 and 414 px: none wider than the screen.
  • Desktop at 1280 px matches before and after, except for one line of relative time.
  • vitest 897 of 897. Two exact-text expectations were updated, because the CSS and plan-card markup changed on purpose:
    • the sign-in grid is now minmax(0,1fr)
    • a plan line can carry class="folded"

Not deployed yet.

🤖 Generated with Claude Code

No page scrolls sideways at 360, 375 or 414 any more (249 page views checked, every
dashboard view included). The dashboard header fits, problem cards and route lists
wrap, tables built by the dashboard script sit in their own scroll box, charts draw
at the phone's width so their labels stay readable, and the tour's spotlight stays
under the header. The burger drawer uses the dynamic viewport height and its closed
links leave the tab order; Export gets a rail link on phones, where the product
menu is hidden.

Account pages: fields are 16 px on phones (iOS no longer zooms in on focus), the
Apps table stacks, plan cards fold their longer feature lists behind "N more" on a
phone (desktop shows every line), long emails wrap, the sign-in button rows wrap,
and the report email no longer widens past the screen. Desktop is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MeharPro
MeharPro merged commit a0d6c74 into main Nov 16, 2026
4 checks passed
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.

1 participant