From 0d78410dea026c7ef398509b94a32f735e56e579 Mon Sep 17 00:00:00 2001 From: chihlasm Date: Mon, 23 Mar 2026 06:08:35 +0000 Subject: [PATCH] fix: mobile landing page text overflow clipping Reduce section/card padding on mobile, allow mock node and chat text to wrap, and add flex-wrap to the brand equation so nothing overflows the viewport edge. Co-Authored-By: Claude Opus 4.6 (1M context) --- frontend/src/styles/landing.css | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/frontend/src/styles/landing.css b/frontend/src/styles/landing.css index 37d640fb..a68e1186 100644 --- a/frontend/src/styles/landing.css +++ b/frontend/src/styles/landing.css @@ -46,6 +46,7 @@ .landing-page-content { position: relative; z-index: 1; + overflow-x: hidden; } /* ---- NAVIGATION ---- */ @@ -809,7 +810,7 @@ border-radius: 6px; font-size: 0.6rem; font-family: 'IBM Plex Sans', sans-serif; - white-space: nowrap; + overflow-wrap: anywhere; } .landing-mock-node.start { @@ -858,6 +859,8 @@ .landing-mock-chat-line .text { color: #848b9b; + overflow-wrap: anywhere; + min-width: 0; } .landing-mock-chat-line.doc .label { @@ -1412,6 +1415,18 @@ /* ---- RESPONSIVE ---- */ @media (max-width: 900px) { + .landing-page section { + padding: 3rem 1rem; + } + + .landing-section-inner { + max-width: 100%; + } + + .landing-step-card { + padding: 1.25rem; + } + .landing-problem-grid, .landing-steps-container, .landing-features-grid, @@ -1463,15 +1478,28 @@ padding: 8rem 1.5rem 4rem; } + .landing-equation-section { + padding: 3rem 1rem; + } + .landing-brand-equation { font-size: 1.25rem; gap: 0.5rem; + flex-wrap: wrap; } .landing-eq-item { padding: 0.35rem 0.75rem; } + .landing-testimonial-section { + padding: 3rem 1rem; + } + + .landing-cta-section { + padding: 3rem 1rem; + } + .landing-cta-email-form { flex-direction: column; }