How to Catch Mobile Overflow in an AI-Built App Before You Launch A developer published a practical 20-minute workflow for catching horizontal overflow in AI-generated web apps built with Lovable, Bolt, v0 or Cursor, arguing that editor previews at phone widths miss real-device breakage. The method runs on the published URL rather than the builder: a desktop console snippet filters elements whose scrollWidth exceeds the document's clientWidth, followed by a check on an actual phone, after which the agent is prompted with the specific page URL and symptom to apply fixes like max-width: 100%, flex-wrap: wrap and overflow-wrap: anywhere. The developer also offers a free scan that flags dead buttons, 404s and mobile-overflowing pages on live URLs. 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. You are looking for more than a messy layout: These patterns show up again and again in generated CSS and markup: width: 1200px , min-width: 1024px , or a hero set to a desktop canvas. On a 390px screen, that is overflow by definition. 100vw on a full-width section. max-width: 100%; height: auto is the usual fix, and it is often missing. flex-wrap: nowrap plus 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. 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 On a desktop, as a backup js ...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. 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: max-width: 100% and a fluid layout. width: 100% . flex-wrap: wrap and stack tables or pricing columns on small screens. overflow-wrap: anywhere and collapse the nav on small screens. overflow-x: hidden only 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. 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 https://testmylaunch.com?ref=devto