Skip to content

fix(login): stop the auth pane scrolling - #518

Merged
nicdavidson merged 1 commit into
developfrom
login-ui-scrolling
Sep 1, 2026
Merged

nicdavidson merged 1 commit into
developfrom
login-ui-scrolling

Conversation

@nicdavidson

Copy link
Copy Markdown
Contributor

Fixes #517.

The login / auth card container was height: 100% plus margin-top: 20vh, so mat-sidenav-content was always ~20vh taller than the viewport and the login pane scrolled.

  • Center short auth cards with min-height: 100% (taller register/reset forms can still grow and scroll)
  • Constrain the login logo so it does not overflow on narrow viewports
  • E2E: login and forgot-password panes do not scroll at 1440×900 / 1280×720

dist/ is intentionally not in this PR. Rebuild it on develop after merge so it reflects every worktree that landed, not just this one.

Verified locally against http://localhost:8081/dreamfactory/dist/#/auth/login (desktop, laptop, mobile). Login still reaches /#/home.

The login card was height: 100% plus margin-top: 20vh, which made
mat-sidenav-content ~20vh taller than the viewport. Center with
min-height instead, and constrain the logo on narrow screens.

Fixes #517. Dist is not in this PR — rebuild on develop after merge.
@nicdavidson
nicdavidson merged commit e7efa72 into develop Sep 1, 2026
1 check passed
@nicdavidson
nicdavidson deleted the login-ui-scrolling branch September 1, 2026 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant