[UI] The contact form for small devices (iphone 16) is not completely visible
Description
The contact form is not completely visible
Expected Behaviour
Screenshots
Environment:
- Host OS: MacOs
- Browser: Brave
Contributor Resources and Handbook
The layer5.io website uses Gatsby, React, and GitHub Pages. Site content is found under the master branch.
- π See contributing instructions.
- π¨ Wireframes and designs for Layer5 site in Figma (open invite)
- ππΎππΌ Questions: Discussion Forum and Community Slack.
Join the Layer5 Community by submitting your community member form.
Hi @SakshamMawari and Layer5 team,
I would love to work on this issue.
I investigated the problem on small/mobile viewports (such as iPhone 16 at ~393px width):
- In
src/sections/app.style.js,.Modalsetsoverflow-y: hiddenwith a fixed height constraint, while.form-framesets fixed widths (22rem/ 352px) which, along with modal padding, clips the lower section of the form (checkboxes and the submit button). - I will adjust the modal container and form-frame to use responsive fluid boundaries (
max-width: 92vw,max-height: 90vh, andoverflow-y: auto), ensuring the complete contact form remains visible, accessible, and smoothly scrollable on compact devices.
Could you please assign this issue to me? I will prepare and submit a clean PR right away with DCO sign-off.
Thank you!
I've created and tested the fix across small viewports (tested at 375px, 393px, 500px, 768px, with all 41 unit tests passing and DCO sign-off verified).
The pull request is open for review: #8494
Assigned to @givemehat - your investigation on the issue thread (.Modal overflow-y hidden, .form-frame fixed widths) plus the tested fix in #8494 is the concrete plan here, so this one is yours.
@givemehat: please keep the fix scoped to the modal and form small-viewport rules from #8494, and confirm in the PR that the 41 unit tests still pass and the form is fully visible at 375px and 393px widths. Sign off your commits (DCO).
@SakshamMawari: thanks for filing this with the screenshots - the report is what made the fix possible. Your #8489 fix for #8488 is already open, so please keep your focus there for now. If you want another pick, the help-wanted list for this repo is a good place to look, and asking on an assigned issue with no recent activity is always welcome.
Thank you @yi-nuo426 for assigning this to me!
I have verified that all 41 unit tests continue to pass (npm run test:unit), confirmed the fix is strictly scoped to the modal and form small-viewport rules with full visibility at 375px and 393px (iPhone 16), applied reviewer feedback on PR #8494, and confirmed DCO sign-offs across all commits.
Everything is updated and ready in #8494 for final review.