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) <noreply@anthropic.com>
This commit is contained in:
@@ -46,6 +46,7 @@
|
|||||||
.landing-page-content {
|
.landing-page-content {
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
|
overflow-x: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ---- NAVIGATION ---- */
|
/* ---- NAVIGATION ---- */
|
||||||
@@ -809,7 +810,7 @@
|
|||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
font-size: 0.6rem;
|
font-size: 0.6rem;
|
||||||
font-family: 'IBM Plex Sans', sans-serif;
|
font-family: 'IBM Plex Sans', sans-serif;
|
||||||
white-space: nowrap;
|
overflow-wrap: anywhere;
|
||||||
}
|
}
|
||||||
|
|
||||||
.landing-mock-node.start {
|
.landing-mock-node.start {
|
||||||
@@ -858,6 +859,8 @@
|
|||||||
|
|
||||||
.landing-mock-chat-line .text {
|
.landing-mock-chat-line .text {
|
||||||
color: #848b9b;
|
color: #848b9b;
|
||||||
|
overflow-wrap: anywhere;
|
||||||
|
min-width: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.landing-mock-chat-line.doc .label {
|
.landing-mock-chat-line.doc .label {
|
||||||
@@ -1412,6 +1415,18 @@
|
|||||||
/* ---- RESPONSIVE ---- */
|
/* ---- RESPONSIVE ---- */
|
||||||
@media (max-width: 900px) {
|
@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-problem-grid,
|
||||||
.landing-steps-container,
|
.landing-steps-container,
|
||||||
.landing-features-grid,
|
.landing-features-grid,
|
||||||
@@ -1463,15 +1478,28 @@
|
|||||||
padding: 8rem 1.5rem 4rem;
|
padding: 8rem 1.5rem 4rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.landing-equation-section {
|
||||||
|
padding: 3rem 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
.landing-brand-equation {
|
.landing-brand-equation {
|
||||||
font-size: 1.25rem;
|
font-size: 1.25rem;
|
||||||
gap: 0.5rem;
|
gap: 0.5rem;
|
||||||
|
flex-wrap: wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.landing-eq-item {
|
.landing-eq-item {
|
||||||
padding: 0.35rem 0.75rem;
|
padding: 0.35rem 0.75rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.landing-testimonial-section {
|
||||||
|
padding: 3rem 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.landing-cta-section {
|
||||||
|
padding: 3rem 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
.landing-cta-email-form {
|
.landing-cta-email-form {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user