diff --git a/apps/website/src/app/global.css b/apps/website/src/app/global.css index 0f668257..76cafccf 100644 --- a/apps/website/src/app/global.css +++ b/apps/website/src/app/global.css @@ -11,6 +11,16 @@ body { font-family: var(--font-inter); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; + overflow-x: hidden; +} + +/* Long unbreakable tokens (e.g. package names like @threadplane/chat, + * file paths like app.config.ts) live inside marketing headings and pull + * the layout wider than the viewport on narrow phones. Allow breaking + * within these tokens to prevent horizontal overflow. */ +h1, h2, h3, h4, h5, h6 { + overflow-wrap: break-word; + word-break: break-word; } /* Scroll-triggered fade-in for server components */ diff --git a/apps/website/src/components/contact/ContactForm.tsx b/apps/website/src/components/contact/ContactForm.tsx index 3715867d..56bfe8f8 100644 --- a/apps/website/src/components/contact/ContactForm.tsx +++ b/apps/website/src/components/contact/ContactForm.tsx @@ -107,6 +107,7 @@ export function ContactForm() { Email setEmail(e.target.value)} @@ -117,6 +118,7 @@ export function ContactForm() { Name (optional) setName(e.target.value)} style={inputStyle} @@ -126,6 +128,7 @@ export function ContactForm() { Company (optional) setCompany(e.target.value)} style={inputStyle} diff --git a/apps/website/src/components/landing/Differentiator.tsx b/apps/website/src/components/landing/Differentiator.tsx index 361e7abf..b8cbfe75 100644 --- a/apps/website/src/components/landing/Differentiator.tsx +++ b/apps/website/src/components/landing/Differentiator.tsx @@ -155,7 +155,7 @@ export function Differentiator() { flexWrap: 'wrap', }} > -