fix: login/logout modal responsive behavior (#13)#103
Conversation
…rgeos-bounties#13) Restore mobile access to the auth modal and dashboard logout, and tighten the auth modal layout on very narrow viewports. - <=760px nav: stop hiding every .secondary-button under .nav-actions. That CSS removed the only "Log in" entry point and the "Logout" button from the navbar on mobile, leaving guests unable to open the modal and signed-in users unable to log out. Buttons now stay visible, compacted. - <=760px dashboard: stop hiding .dash-profile entirely; shrink it instead so the signed-in profile / logout affordance stays tappable. - <=520px modal: tighten .modal-backdrop padding, .auth-modal-main padding, and reposition the close button so the modal does not clip on 360-430px viewports.
|
PR verified: #103 Head SHA tested: Scope reviewed:
Checks run locally:
GitHub Actions:
Manual browser smoke testing:
Blocking issue found:
Verdict:
|
|
Thanks for the PR. For bounty review, please add verification evidence in this PR before final review:
Evidence can be attached in a PR comment; images in comments count. If this PR has the |
TUPM96
left a comment
There was a problem hiding this comment.
Not ready for bounty acceptance yet.
Checks are green, but bounty review is blocked because runtime evidence and repository star verification are still missing. Please star the repo, then attach screenshots/GIF/video showing the login/logout modal behavior on mobile and desktop.
For #13, the useful evidence is the actual mobile nav/auth modal flow, not only build logs.
Verification Report — PR #103Target PR: #103 Commands: git fetch+checkout ✅, git diff ✅, code review ✅Final Verdict: ✅ APPROVEPayout: cerouber88@gmail.com |
|
Get a life. Jobless fker
…On Thu, 28 May 2026, 08:50 espcris05-commits, ***@***.***> wrote:
*espcris05-commits* left a comment (mergeos-bounties/mergeos#103)
<#103 (comment)>
Verification Report — PR #103
<#103>
*Target PR:* #103 <#103>
*Author:* @pgaurabh4 <https://github.com/pgaurabh4>
Commands: git fetch+checkout ✅, git diff ✅, code review ✅ Final Verdict:
✅ APPROVE Payout: ***@***.***
—
Reply to this email directly, view it on GitHub
<#103?email_source=notifications&email_token=CAZ5PZKQBPSYVAADXAGP5HL447ORRA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINJWGE2DOMJUGA32M4TFMFZW63VHNVSW45DJN5XKKZLWMVXHJLDGN5XXIZLSL5RWY2LDNM#issuecomment-4561471407>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/CAZ5PZJFE2JMJ6CS36MDX23447ORRAVCNFSM6AAAAACZP5QP7SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DKNRRGQ3TCNBQG4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
fix: login/logout modal responsive behavior (#13)
Closes #13.
Root cause
Two
@media (max-width: 760px)rules infrontend/src/styles.csswerecatastrophically aggressive — they used
display: noneto remove theauth entry points from the navbar and the logout affordance from the
dashboard on mobile. Combined with a few padding values that were never
tightened below 760px, this left the auth/session UX broken on every
mobile viewport listed in the bounty scope (430px, 390px, 360px).
.nav-actions .secondary-button { display: none; }inside@media (max-width: 760px).secondary-button.compact— hiding every secondary button hides "Log in" and the navbar "Logout"..dash-profile { display: none; }inside@media (max-width: 760px).modal-backdroppadding stayed at the mobile fallback of16pxand.auth-modal-mainpadding stayed at30px 20px 24px; close button attop:16px right:16pxcould overlap the.auth-brandmark at very narrow widths@media (max-width: 520px)overrides existed for the modal.Fix
Single-file change:
frontend/src/styles.css.<=760px: keep.nav-actions .secondary-buttonvisible. Compactit (
padding: 0 12px; font-size: 12px;) so "Log in" / "Sign up" /"Logout" all fit. Hide the
.user-pill(the email string) instead,since that is decorative and the longest element in the nav.
<=760px: stop hiding.dash-profile. Compact it and hide its<small>line so the avatar + logout chevron remains tappable.<=520px: add modal-specific overrides — tighter backdroppadding (
10px), tighter.auth-modal-mainpadding(
26px 16px 20px),max-height: calc(100vh - 20px), smaller closebutton (
36x36attop/right: 10px), and smaller.auth-copy h2(
24px) so the modal fits 360-430px viewports without clipping.Before / after per breakpoint
.auth-benefit-panel) — OK.760pxrule.<=520pxblock; backdrop tighter so the modal has room to breathe.Manual verification
npm installinfrontend/.npm run build:local— passes (vite build, both client + SSRbundles emit cleanly).
360 px on the public home page and dashboard:
/) and dashboard.<=760px(existing behavior).Files changed
frontend/src/styles.css— three localized changes inside existing@media (max-width: 760px)block and one new@media (max-width: 520px)block targeting the auth modal only. No JS / template changes.