All Docs
FeaturesDepositClearUpdated March 11, 2026

Better Mobile Forms: Single-Column Stacking on Small Screens

Better Mobile Forms: Single-Column Stacking on Small Screens

Release: v0.1.162 | Control: MOB-08 | Category: Layout

What Changed

Several forms in the onboarding flow and the Add Tenancy slide-over were rendered as fixed two-column grids on all screen sizes. On a typical phone screen (375px wide), each input field was squeezed to roughly 160px — making them awkward to tap and difficult to read or type in.

This release applies a mobile-first responsive grid pattern across all affected forms, so fields stack into a single full-width column on small screens and expand to two columns on larger ones.

Affected Forms

Onboarding — Add First Tenancy Step

Field GroupBeforeAfter
Email / Phonegrid-cols-2grid-cols-1 sm:grid-cols-2
Town / Postcodegrid-cols-2grid-cols-1 sm:grid-cols-2
Start Date / Rentgrid-cols-2grid-cols-1 sm:grid-cols-2

Add Tenancy Slide-Over — Step 1

Field GroupBeforeAfter
Start Date / End Dategrid-cols-2grid-cols-1 sm:grid-cols-2

Add Tenancy Slide-Over — Step 2

Field GroupBeforeAfter
Rent Amount / Frequencygrid-cols-2grid-cols-1 sm:grid-cols-2
Deposit Amount / Schemegrid-cols-2grid-cols-1 sm:grid-cols-2

Technical Detail

All grids previously used grid grid-cols-2 gap-2 or grid grid-cols-2 gap-4. These have been replaced with grid grid-cols-1 sm:grid-cols-2 gap-{n} throughout src/app/onboarding/onboarding-client.tsx.

The AddTenancySlideOver component is sized w-full sm:max-w-lg. Because it occupies the full viewport width on mobile, the single-column fallback ensures every input field is comfortably wide and tappable at any phone size.

Breakpoint Behaviour

Viewport WidthGrid Layout
< 640px (mobile)1 column — fields stack vertically
≥ 640px (sm+)2 columns — fields sit side-by-side

No changes were made to the visual design, field labels, validation logic, or data submitted by these forms.