The editor preview looks fine. You resize the pane to something like a phone, scroll a bit, and ship it. Then a first visitor opens the live URL on an actual phone and the page slides sideways. A button sits half off the screen. A pricing table cannot be read without dragging.
Horizontal overflow is one of the most common launch-day problems in apps built with Lovable, Bolt, v0 or Cursor. The model will happily set a fixed width, drop in a wide table, or use 100vw without accounting for a scrollbar or a notch. The editor preview is not the same as a real phone.
This is a practical check you can run in about 20 minutes on the published URL, not in the builder.
What overflow actually looks like
You are looking for more than a messy layout:
- The page can be dragged left or right. Even a few pixels of sideways movement counts.
- Text or a card is cut off at the edge, with no way to reach it except by pinching or sliding.
- A primary button, a price, or a form field sits under the fold or off to the side on a narrow screen.
- A sticky header or bottom bar covers the last item in a list or the submit button.
- Rotating the phone to landscape, or opening the on-screen keyboard, makes a previously fine page overflow.
Why AI-built apps do this
These patterns show up again and again in generated CSS and markup:
- Fixed widths.
width: 1200px,min-width: 1024px, or a hero set to a desktop canvas. On a 390px screen, that is overflow by definition. -
100vwon a full-width section.100vwincludes the scrollbar. On some browsers that is enough to create a few pixels of horizontal scroll. - Wide tables and comparison grids. Pricing tables, dashboards and "feature vs plan" grids are often generated as a single row of columns that cannot wrap.
- Images and videos without a cap. An image with a hard-coded width, or an unsized SVG, pushes the page out.
max-width: 100%; height: autois the usual fix, and it is often missing. - Long words, long URLs, or a long nav. A single unbreakable string, or a desktop nav that does not collapse, will blow out the container.
- Absolutely positioned elements. A badge, a chat widget or a decorative blob placed at a desktop coordinate will hang off the side on mobile.
- Flex or grid children that cannot shrink.
flex-wrap: nowrapplus children with a minimum content width is a classic overflow source.
The editor's 390px preview will not always catch these. A real phone has a different viewport, different font rendering, and a browser chrome the model never saw.
A 20-minute check on the live URL
Do this on the published domain, in a private window, and then on your own phone. Not in the Lovable, Bolt, v0 or Cursor preview.
On your phone
- Open the home page. Try to scroll sideways. If it moves, something overflows.
- Visit every page in the nav and the footer. Repeat the sideways scroll on each one.
- Type a long name or a long email into each form, then open the keyboard. Watch whether the layout shifts off-screen or hides the submit button.
- Rotate to landscape and back.
- Tap every main button once. A control that looks fine can be clipped, or do nothing, on a touch screen.
On a desktop, as a backup
- Open DevTools, switch to the device toolbar, and test 320px, 375px and 390px. This is not a substitute for a real phone, but it helps you find the element that is too wide.
- In the console, a quick way to list overflowing elements:
[...document.querySelectorAll("*")].filter(el => el.scrollWidth > document.documentElement.clientWidth) That list is a starting point, not a complete audit. Sticky bars and elements that overflow only after a click will not always appear.
Fixes you can paste back into the prompt
Once you know which page breaks, you do not need to rewrite the app. Tell the agent the page URL and the symptom, then ask it to:
- Replace fixed widths with
max-width: 100%and a fluid layout. - Avoid
100vwon full-width sections; usewidth: 100%. - Let flex rows wrap (
flex-wrap: wrap) and stack tables or pricing columns on small screens. - Give images, videos and canvases
max-width: 100%; height: auto. - Allow long words to break (
overflow-wrap: anywhere) and collapse the nav on small screens. - Add
overflow-x: hiddenonly as a last resort, and only on a specific container — hiding overflow can also hide a button.
After the agent replies, run the phone check again on the live URL. One prompt can fix the home page and break the pricing page.
Before you share the link
Overflow is easy to miss because you already know how the app is supposed to work, and you tested it on a laptop. A stranger with a phone does not.
If you want a second pass on the live URL, we built a free scan that opens your app and flags dead buttons, 404s and pages that overflow on mobile: https://testmylaunch.com?ref=devto