# The page scrolls sideways on mobile

Rule `UX_MOBILE_002` · UX · medium severity · low effort
By Leakly · Published 2026-09-25 · Updated 2026-09-27 · https://leakly.ai/library/UX_MOBILE_002

## The problem

Content is wider than the mobile viewport, so the layout can be dragged horizontally.

Horizontal overflow hides content off-screen and makes vertical scrolling unreliable. It is read as a defect, and it undermines trust in everything else on the page.

## How Leakly detects it

- **deterministic**: A structural fact counted in the rendered page, or a measurement against a threshold.

## What counts as proof

- Elements located in the rendered page, with their position and size.
- A measured number, with its unit and the threshold it crosses.

Without this evidence the candidate is dropped before it reaches a report — never softened into advice.

## How to fix it

Remove the horizontal overflow.

1. Find the element wider than the viewport and constrain it.
2. Check tables, code blocks and fixed-width images first — they are the usual cause.

---

Source: https://leakly.ai/library/UX_MOBILE_002
