Skip to content

fix(ui): fit the ride on a phone - #6

Merged
CodeDotJS merged 1 commit into
mainfrom
fix/phone-layout
Oct 4, 2026
Merged

CodeDotJS merged 1 commit into
mainfrom
fix/phone-layout

Conversation

@CodeDotJS

Copy link
Copy Markdown
Owner

Summary

  • Treat phones as the primary screen, and record that in the phone rule.
  • On a narrow screen, the route strip keeps one colored line and wraps the station names underneath so they no longer collide.
  • Choice cards stack, action buttons stay in a two-column grid, and type and padding get tighter. The laptop layout is unchanged.

Test plan

  • At 320 and 390 pixels, open Vaishali to Sector 42-43 and confirm the station names do not overlap
  • Confirm the page does not scroll sideways
  • At a laptop width, confirm the route strip still labels each dot

@CodeDotJS
CodeDotJS merged commit df87188 into main Oct 4, 2026
1 check passed
@CodeDotJS
CodeDotJS deleted the fix/phone-layout branch October 4, 2026 13:22

This branch was successfully deployed

1 active deployment
preview — 5b707227 Deployed Oct 4, 2026 by github-actions[bot]
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