Skip to content

fix(frontend): center the forgot and reset password pages - #418

Merged
nourshoreibah merged 2 commits into
mainfrom
fix/forgot-password-layout
Oct 17, 2026
Merged

nourshoreibah merged 2 commits into
mainfrom
fix/forgot-password-layout

Conversation

@nourshoreibah

Copy link
Copy Markdown
Collaborator

What

/forgot-password and /reset-password had no page wrapper, so their content sat flush-left with hard-coded margins (!ml-[41px], !px-[127px]). Both pages now use the login page's layout: a min-h-screen centered wrapper around a w-80 column, with a full-width green button and links underneath.

  • Forgot password
    • The heading is now "Forgot password?" so it fits on one line in the column.
    • Simpler intro line.
    • The request step is a real <form>, so pressing Enter submits it.
    • The email field gets type="email" and autocomplete.
  • Reset password: all three states (link expired, form, done) are wrapped and centered.

Docs

  • Retook the login and reset-password help screenshots against the fixed layout.
  • Added a screenshot for the "enter code and new password" step, which had text only before.
  • Restored the apps/frontend/AGENTS.md Guarding paragraph that the help-pages note had split, and noted the shared auth-page layout.

Checks

  • Frontend jest: 445 passed, 2 skipped. tsc --noEmit and eslint are clean. npm run build passes.
  • Checked in the browser: all three forgot-password steps (the code request was stubbed, so no email went out) and /reset-password on the static build.

🤖 Generated with Claude Code

nourshoreibah and others added 2 commits October 16, 2026 21:59
Neither page had the full-height centered wrapper the login page uses,
so their content rendered flush left with hard-coded margins. Both now
share the login layout, and the request step is a real form so Enter
submits it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Retake the login and reset screenshots against the fixed layout, add
one for the code-and-new-password step, and restore the AGENTS.md
guarding paragraph the help-pages note had split.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@nourshoreibah nourshoreibah added the no-review The PR review bot won't run label Oct 17, 2026
@nourshoreibah
nourshoreibah marked this pull request as ready for review October 17, 2026 02:01
@nourshoreibah
nourshoreibah merged commit 0508d02 into main Oct 17, 2026
18 checks passed
@nourshoreibah
nourshoreibah deleted the fix/forgot-password-layout branch October 17, 2026 02:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-review The PR review bot won't run

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant