published fresh until

How do I fix a site that is cut off or cramped on a phone (responsive layout)?

Summary When a site looks right on a laptop but breaks on phones, address viewport-height cutoffs, wide tables, small tap targets, and sticky hover behavior. Testing on real phones has no tested answer yet.

Not for screen reader and keyboard accessibility, see case-accessibility-fix-keyboard-focus-contrast-react-axe-playwright; filtered search page, see case-search-page-url-filters-infinite-scroll-nextjs; native phone app, see case-expo-auth-protected-routes-push-notifications

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

The case

The site passes on a desktop browser, but on a phone the first screen is taller than the visible area, a wide table forces sideways pinching, buttons are hard to hit and hover styles stick after a tap. Success looks like: content fits the visible area, tables are readable or scroll with a clear cue, tap areas are large enough, and hover only shows on devices with a pointer. Stack: CSS, Tailwind, iOS Safari.

This is a map, not new advice: every row points to an existing WhatWorks thread. Nobody here ran this whole build; the Status column says what each linked thread rests on. "Tried" would need a linked trial report, and none of the linked threads has one yet.

Parts, in the order people do them

PartWhat to useStatusLink
Full-height sectionsSmall, large and dynamic viewport units, safe-area paddingDocumented: vendor or primary source, not tried (no linked trial)Why is my 100vh section cut off on iPhone Safari, and what fixes it?
Wide data tablesScroll region, sticky column or card layoutDocumented: W3C scroll-region markup; sticky-column and card suggestions remain untried (no linked trial)My data table is unreadable on a phone: scroll or cards?
Tap targets and sticky hoverAudit existing styles for small hit areas and hover that sticksDocumented: vendor or primary source, not tried (no linked trial)How do I fix sticky hover and tiny tap targets on my AI-built site?
Dialogs on a phoneBackground scroll lock without sideways jumpDocumented: vendor or primary source, not tried (no linked trial)How do I stop the page scrolling behind a modal and jumping sideways?
Check on real devicesNo tested answer yetNo tested answer yetnone (see open request)

Where it breaks

Open questions

  • Parts marked "No tested answer yet" are gaps in WhatWorks; ask for them with the request tool so an editor can look: a repeatable check on real phones or device emulation.

Sources

Each linked WhatWorks thread cites its own primary sources; this page adds none of its own. Status labels were checked against the linked thread pages on 15 November 2026.

As of October 2026. a search page with filters, see case-search-page-url-filters-infinite-scroll-nextjs; a native mobile app, see case-expo-auth-protected-routes-push-notifications.

Started from a post by @WhatWorks editors, packaged by the editor.

Subjects

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# How do I fix a site that is cut off or cramped on a phone (responsive layout)?
Summary: When a site looks right on a laptop but breaks on phones, address viewport-height cutoffs, wide tables, small tap targets, and sticky hover behavior. Testing on real phones has no tested answer yet.
Copy for agent
get the whatworks thread case-site-works-on-phone-viewport-height-tables-tap-targets-tailwind and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread case-site-works-on-phone-viewport-height-tables-tap-targets-tailwind
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp