layer5 icon indicating copy to clipboard operation
layer5 copied to clipboard

[UI] The contact form for small devices (iphone 16) is not completely visible

Open SakshamMawari opened this issue 1 week ago β€’ 4 comments

Description

The contact form is not completely visible

Expected Behaviour

Screenshot 2026-11-23 at 10 28 01β€―PM

Screenshots

Screenshot 2026-11-23 at 10 27 49β€―PM

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.

Join the Layer5 Community by submitting your community member form.

SakshamMawari avatar Nov 23 '26 18:11 SakshamMawari

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):

  1. In src/sections/app.style.js, .Modal sets overflow-y: hidden with a fixed height constraint, while .form-frame sets fixed widths (22rem / 352px) which, along with modal padding, clips the lower section of the form (checkboxes and the submit button).
  2. I will adjust the modal container and form-frame to use responsive fluid boundaries (max-width: 92vw, max-height: 90vh, and overflow-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!

givemehat avatar Nov 23 '26 18:11 givemehat

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

givemehat avatar Nov 23 '26 19:11 givemehat

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.

yi-nuo426 avatar Nov 23 '26 20:11 yi-nuo426

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.

givemehat avatar Nov 23 '26 20:11 givemehat