Files
CommaBotandDarkSky c31c1323e4 fix(core): let the sign-in dialog shrink and scroll in short windows (#15894)
The desktop sign-in dialog set an inline `min-height: 550px`, which wins
over the modal's `calc(100dvh - 32px)` cap, and the dialog content had
no overflow, so in a window shorter than the dialog the controls below
the fold could not be reached.

This caps the min and max height at the viewport and lets the dialog
scroll. An e2e test opens the dialog in a 400px-high viewport and checks
that it fits and that its last button can be scrolled into view.

fix #15620

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

<!-- coderabbit-ai-generated:v1 -->

## Summary by CodeRabbit

* **Bug Fixes**
* The sign-in dialog now adapts to shorter screens and scrolls when its
content exceeds the available space.
* **Tests**
* Added coverage to check that the login dialog and its final button
remain accessible in a short viewport.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: DarkSky <darksky2048@gmail.com>
2026-11-24 18:03:55 +08:00
..