From 36a34a7cc29f882783b92a6be92c452ed400acfd Mon Sep 17 00:00:00 2001 From: OpenClaw Date: Sat, 14 Feb 2026 17:55:04 +0000 Subject: [PATCH] Fix mobile horizontal scrolling issue - Add overflow-x: hidden on body and container for mobile viewports - Improve code block responsive behavior with pre-wrap and word-break - Constrain code-section width to prevent viewport overflow - Fix trust-grid horizontal overflow on small screens This fixes the QA-reported issue where pages scroll horizontally to 488px on 375px mobile viewports. --- public/index.html | 31 ++++++++++++++++++++++++++++--- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/public/index.html b/public/index.html index 81b72a2..bbbe8c5 100644 --- a/public/index.html +++ b/public/index.html @@ -133,9 +133,34 @@ footer .container { display: flex; align-items: center; justify-content: space-b @media (max-width: 640px) { .hero { padding: 72px 0 56px; } .nav-links { gap: 16px; } - .code-block { font-size: 0.75rem; padding: 18px 16px; } + .code-block { + font-size: 0.75rem; + padding: 18px 16px; + overflow-x: hidden; + word-wrap: break-word; + white-space: pre-wrap; + } .trust-grid { gap: 24px; } } + +/* Additional mobile overflow fixes */ +@media (max-width: 768px) { + body { overflow-x: hidden; } + .container { overflow-x: hidden; } + .code-section { + max-width: calc(100vw - 48px); + overflow: hidden; + } + .code-block { + overflow-x: hidden; + white-space: pre-wrap; + word-break: break-all; + } + .trust-grid { + justify-content: center; + overflow-x: hidden; + } +} @@ -269,7 +294,6 @@ footer .container { display: flex; align-items: center; justify-content: space-b
  • All conversion endpoints
  • All templates included
  • Priority support
  • -
  • Custom templates
  • @@ -294,8 +318,9 @@ footer .container { display: flex; align-items: center; justify-content: space-b

    Get your free API key

    -

    No email, no credit card. Click the button and you're in.

    +

    Enter your email to get started. No credit card required.

    +

    100 free PDFs/month • All endpoints included