Stitch canvas rendering screens extremely narrow/compressed despite stable internet connection

Hi Stitch Team,

I’m experiencing a rendering/display issue in Google Stitch.

While designing in Stitch, the generated screens sometimes appear extremely narrow and compressed on the canvas, as shown in the attached screenshot. The UI content is rendered as very thin vertical pages instead of displaying at the expected screen dimensions.

My internet connection is stable and fast, so this doesn’t appear to be a network connectivity issue.

Issue:

  • Generated screens appear extremely narrow/compressed
  • Multiple screens are displayed as very thin vertical layouts
  • The design becomes difficult/impossible to work with
  • Refreshing/reopening the project does not consistently resolve the issue

Environment:

  • OS: Windows 10/11
  • Browser: Google Chrome
  • Device: Desktop PC
  • Location: India
  • Connection: Stable broadband/high-speed internet

I’ve attached a screenshot showing the problem.

Could you please check whether this is a known Stitch canvas/rendering bug and advise how I can fix or work around it?

Thank you.

Hey @Sahal_Fouz_mv, sorry for the late reply! You’ve hit a Viewport Flexbox Layout Compression issue where artboard CSS containers collapse horizontally into narrow vertical strips.

To fix it:

  1. Force Full-Width via Prompt: Type: ‘Refactor all main artboard containers to be fully responsive. Remove any restrictive max-width constraints causing narrow vertical compression, and set containers to w-full max-w-7xl mx-auto.’

  2. Clear Site Data & Hard Reload: Go to F12 $\rightarrow$ Application $\rightarrow$ Storage $\rightarrow$ Clear site data, then hard refresh with Ctrl + F5.

  3. Export and Re-Seed: Copy the code via the Export menu and re-seed it in a clean prompt if compression persists.