Skip to content

fix: mobile overflow on homepage for narrow screens (ZFlip6)#4336

Open
devin-ai-integration[bot] wants to merge 1 commit intomainfrom
devin/1772447454-fix-mobile-overflow
Open

fix: mobile overflow on homepage for narrow screens (ZFlip6)#4336
devin-ai-integration[bot] wants to merge 1 commit intomainfrom
devin/1772447454-fix-mobile-overflow

Conversation

@devin-ai-integration
Copy link
Contributor

Summary

Fixes horizontal text overflow on the homepage when viewed on narrow mobile devices (e.g. Samsung ZFlip6 at ~360px width). Reported via community feedback — text was going off the sides and not wrapping properly.

Three changes:

  1. Added overflow-x-hidden to the homepage <main> container (consistent with all solution pages which already have this)
  2. Reduced hero title font size from text-4xl to text-3xl on mobile (keeps sm:text-5xl for larger screens)
  3. Made the email submit button padding responsive (px-4 on mobile, sm:px-6 on larger screens) to prevent cutoff

Review & Testing Checklist for Human

  • Verify hero title size on standard mobile phones (iPhone, Pixel) — the text-4xltext-3xl change affects ALL mobile devices, not just narrow ones like ZFlip6. Confirm the title doesn't look too small on ~375px-width devices
  • Test on a narrow device or emulate ~360px width to confirm the overflow is actually fixed
  • Check that overflow-x-hidden doesn't mask any interactive elements that might extend slightly beyond the viewport (e.g. tooltips, dropdowns)

Notes

  • The original bug reporter mentioned "it wraps at first but when it finishes loading then it overflows," suggesting a stylesheet loading order issue. The overflow-x-hidden acts as a safety net but may not address the root cause if a later-loading stylesheet is involved.
  • Pre-existing typecheck error in search.tsx (unrelated to these changes)
  • Requested by: @ComputelessComputer
  • Devin Session

- Add overflow-x-hidden to main container (consistent with solution pages)
- Reduce hero title from text-4xl to text-3xl on mobile for narrow devices like ZFlip6
- Reduce submit button horizontal padding on mobile (px-4 vs px-6) to prevent cutoff

Co-Authored-By: John <john@hyprnote.com>
@netlify
Copy link

netlify bot commented Mar 2, 2026

Deploy Preview for hyprnote-storybook canceled.

Name Link
🔨 Latest commit 48204d0
🔍 Latest deploy log https://app.netlify.com/projects/hyprnote-storybook/deploys/69a5677dfb28e100083a1e97

@netlify
Copy link

netlify bot commented Mar 2, 2026

Deploy Preview for hyprnote ready!

Name Link
🔨 Latest commit 48204d0
🔍 Latest deploy log https://app.netlify.com/projects/hyprnote/deploys/69a5677d0cfa1e0007bf4499
😎 Deploy Preview https://deploy-preview-4336--hyprnote.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@devin-ai-integration
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR that start with 'DevinAI' or '@devin'.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant