Fix login modal positioning on mobile devices #154
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.
The login modal was positioned at the bottom of the screen on mobile devices instead of being properly centered, creating a poor user experience. This was particularly problematic on smaller viewports where the modal appeared to be "stuck" at the bottom.
Problem
On mobile devices, the HeroUI Modal component was using default positioning which resulted in bottom placement. This made the login form difficult to access and provided inconsistent UX compared to desktop.
Solution
Added the
placement="center"prop to the Modal component inlogin-modal.tsx. This leverages HeroUI's built-in positioning system which provides:"center"- Centers the modal in the viewport (our fix)"auto"- Default behavior (was causing the issue)"top","top-center","bottom","bottom-center"- Other positioning optionsTesting
Screenshots
Before (❌ Modal stuck at bottom):

After (✅ Modal properly centered):

The fix also verified that other reported mobile issues (tab header wrapping and basic info form scrolling) were already working correctly without additional changes needed.
Fixes #123.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
download.cypress.ioIf you need me to access, download, or install something from one of these locations, you can either:
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.