From 1a258242bdea4fa2d8b8b035c89dabc50388ff44 Mon Sep 17 00:00:00 2001 From: Bryan Helmkamp Date: Mon, 16 Mar 2026 12:23:35 -0400 Subject: [PATCH] Fix marketing site mobile layout: responsive nav and content overflow Nav links, icons, and CTA button overflowed the viewport on mobile. Text in Workflow-as-Code and Multi-model sections was clipped because wide SVG/pre children caused CSS grid blowout (min-width: auto default). - Add hamburger menu for mobile nav on both pages (hidden md:, toggle JS) - Add overflow-x-hidden to html/body/main to prevent horizontal scroll - Add .grid > * { min-width: 0 } to prevent grid children from expanding beyond their container Co-Authored-By: Claude Opus 4.6 (1M context) --- apps/marketing/src/layouts/Layout.astro | 23 ++++++++-- apps/marketing/src/pages/index.astro | 58 +++++++++++++++++++++---- apps/marketing/src/pages/roadmap.astro | 18 ++++---- apps/marketing/src/styles/global.css | 5 +++ 4 files changed, 84 insertions(+), 20 deletions(-) diff --git a/apps/marketing/src/layouts/Layout.astro b/apps/marketing/src/layouts/Layout.astro index e8766db58..633c23fec 100644 --- a/apps/marketing/src/layouts/Layout.astro +++ b/apps/marketing/src/layouts/Layout.astro @@ -9,11 +9,28 @@ const { title } = Astro.props; --- - + - + + + + + + + + + + + + + + + + + + @@ -23,7 +40,7 @@ const { title } = Astro.props; /> {title} - + diff --git a/apps/marketing/src/pages/index.astro b/apps/marketing/src/pages/index.astro index b11f06251..682bfb884 100644 --- a/apps/marketing/src/pages/index.astro +++ b/apps/marketing/src/pages/index.astro @@ -50,20 +50,49 @@ const cssExample = `/* All nodes default to fast + ch Fabro - Docs - Changelog - Roadmap + + + + + + @@ -636,6 +665,19 @@ const cssExample = `/* All nodes default to fast + ch