Skip to content

fix(dash0): center the auth card on mobile - #490

Merged
fclairamb merged 6 commits into
mainfrom
fix/login-mobile-centering
Oct 9, 2026
Merged

fclairamb merged 6 commits into
mainfrom
fix/login-mobile-centering

Conversation

@fclairamb

Copy link
Copy Markdown
Owner

Problem

The login (and the other auth pages sharing AuthSplitLayout) was not centered on mobile.

Cause

The layout container was a grid with no explicit column below lg, so the implicit column was auto. A wide child could stretch it past the viewport and push the card off-center. min-h-screen (100vh) also ignores the collapsing mobile address bar, skewing vertical centering.

Fix

  • grid-cols-1 on the container (column bounded to the viewport)
  • min-h-dvh (with min-h-screen fallback)
  • min-w-0 on the form column

🤖 Generated with Claude Code

@codecov

codecov Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.66%. Comparing base (03be40c) to head (636a002).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #490      +/-   ##
==========================================
- Coverage   82.67%   82.66%   -0.02%     
==========================================
  Files        1174     1174              
  Lines      121363   121363              
==========================================
- Hits       100337   100324      -13     
- Misses      21019    21032      +13     
  Partials        7        7              

see 11 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

The auth layout grid had no explicit column below lg, so a wide child
could stretch the implicit auto column past the viewport and push the
card off-center. Pin it to grid-cols-1, use dvh for vertical centering
and let the form column shrink.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@fclairamb
fclairamb enabled auto-merge (squash) October 7, 2026 20:45
@fclairamb
fclairamb merged commit ca250f6 into main Oct 9, 2026
23 checks passed
@fclairamb
fclairamb deleted the fix/login-mobile-centering branch October 9, 2026 21:19
@fclairamb fclairamb mentioned this pull request Oct 9, 2026
fclairamb added a commit that referenced this pull request Oct 11, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.38.2](v0.38.1...v0.38.2)
(2026-10-11)


### Bug Fixes

* **dash0:** bug report screenshot shows the viewport, not the top of
the page ([#516](#516))
([114c547](114c547))
* **dash0:** center the auth card on mobile
([#490](#490))
([ca250f6](ca250f6))
* **dash0:** name a tunneled check's bastion even when it is not on the
page ([#512](#512))
([d1bb246](d1bb246))
* **deps:** update github.com/dop251/goja digest to 73dc7ed
([#503](#503))
([d2f7bfa](d2f7bfa))
* **deps:** update github.com/dop251/goja digest to a4bedf5
([#499](#499))
([638a4bb](638a4bb))
* **deps:** update go dependencies (non-major)
([#517](#517))
([9f6cbbc](9f6cbbc))
* **security:** address open code scanning and Dependabot alerts
([#514](#514))
([84dc69d](84dc69d))
* **status-pages:** fast staged loading for public status pages
([#504](#504))
([a269baa](a269baa))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant