fix: mobile overflow on homepage for narrow screens (ZFlip6)#4336
Open
devin-ai-integration[bot] wants to merge 1 commit intomainfrom
Open
fix: mobile overflow on homepage for narrow screens (ZFlip6)#4336devin-ai-integration[bot] wants to merge 1 commit intomainfrom
devin-ai-integration[bot] wants to merge 1 commit intomainfrom
Conversation
- 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>
✅ Deploy Preview for hyprnote-storybook canceled.
|
✅ Deploy Preview for hyprnote ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
overflow-x-hiddento the homepage<main>container (consistent with all solution pages which already have this)text-4xltotext-3xlon mobile (keepssm:text-5xlfor larger screens)px-4on mobile,sm:px-6on larger screens) to prevent cutoffReview & Testing Checklist for Human
text-4xl→text-3xlchange affects ALL mobile devices, not just narrow ones like ZFlip6. Confirm the title doesn't look too small on ~375px-width devicesoverflow-x-hiddendoesn't mask any interactive elements that might extend slightly beyond the viewport (e.g. tooltips, dropdowns)Notes
overflow-x-hiddenacts as a safety net but may not address the root cause if a later-loading stylesheet is involved.search.tsx(unrelated to these changes)