diff --git a/src/app/[locale]/projects/upcycling/AiBrainstormSection.tsx b/src/app/[locale]/projects/upcycling/AiBrainstormSection.tsx index ee91f06cd..35ebc9f61 100644 --- a/src/app/[locale]/projects/upcycling/AiBrainstormSection.tsx +++ b/src/app/[locale]/projects/upcycling/AiBrainstormSection.tsx @@ -40,9 +40,13 @@ export function AiBrainstormSection({ section }: { section: Messages }) { return (
+ {/* min-w-0 on grid children is REQUIRED so the right column's
+            can shrink — without it the prompt's longest unbroken word
+            forces the column wider than the viewport and the whole page
+            scrolls horizontally on mobile. */}
         
{/* Left rail — why this exists */} -
+
{/* Right column — prompt cards */} -
    +
      {section.prompts.map((p, i) => ( -
    1. +
    2. +
      {/* Header: numbered title + copy action */}
      @@ -134,8 +138,14 @@ function PromptCard({
      - {/* Body: prompt text in mono surface — visually clear it's code-like, copy-paste-able */} -
      +      {/* Body: prompt text in mono surface — visually clear it's code-like,
      +          copy-paste-able. `break-words` + the inline overflow-wrap make long
      +          German compounds / URLs / paths wrap instead of forcing the parent
      +          wider than the viewport on mobile. */}
      +      
               {prompt}
             
      diff --git a/src/app/[locale]/projects/upcycling/applications/ApplicationsExperience.tsx b/src/app/[locale]/projects/upcycling/applications/ApplicationsExperience.tsx index 24f2ecb95..c49d1612f 100644 --- a/src/app/[locale]/projects/upcycling/applications/ApplicationsExperience.tsx +++ b/src/app/[locale]/projects/upcycling/applications/ApplicationsExperience.tsx @@ -136,7 +136,7 @@ function CinematicHero({
      -
      +
      {eyebrow}

      {title}

      {intro}

      @@ -284,6 +284,10 @@ function Scene({ act, idx, tier }: { act: Act; idx: number; tier: RawApplication )} >
      + {/* min-w-0 on grid children is REQUIRED so the lamp-row column + (which contains a flex carousel with `w-[80vw]` figures) can + shrink. Without it, the carousel pushes the grid wider than + the viewport on mobile. */}
      {/* Text column */} -
      +