+ {/* 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 */}
-
+
{section.title}
@@ -59,9 +63,9 @@ export function AiBrainstormSection({ section }: { section: Messages }) {
{/* Right column — prompt cards */}
-
+
{section.prompts.map((p, i) => (
- -
+
-
+
{/* 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 */}
-
+
{/* Lamp visual column */}
-
diff --git a/src/app/[locale]/projects/upcycling/lenovo-l2251pwd/GuideBody.tsx b/src/app/[locale]/projects/upcycling/lenovo-l2251pwd/GuideBody.tsx
index fbe31883e..3ba746a25 100644
--- a/src/app/[locale]/projects/upcycling/lenovo-l2251pwd/GuideBody.tsx
+++ b/src/app/[locale]/projects/upcycling/lenovo-l2251pwd/GuideBody.tsx
@@ -244,7 +244,12 @@ export function GuideBody({ data }: { data: GuideData }) {
id={`step-${step.n}`}
data-step={step.n}
ref={(el) => registerStep(step.n, el)}
- className="grid sm:grid-cols-[auto_1fr] gap-3 sm:gap-6 scroll-mt-20"
+ // min-w-0 + the inner min-w-0 below are REQUIRED so the
+ // step's right column (which contains the photo carousel
+ // with `w-[85vw]` items) can shrink. Without it, the
+ // carousel's flex children force the grid wider than the
+ // viewport on mobile.
+ className="grid min-w-0 sm:grid-cols-[auto_1fr] gap-3 sm:gap-6 scroll-mt-20"
>
{String(step.n).padStart(2, '0')}
-