wide-screen/foldable audit (task 27): found LockScreen and OnboardingScreen's centered glass-panel content stretching edge-to-edge on tablet/foldable widths instead of staying a comfortable card width, confirmed live at an override 1200x1600 wm size โ€” the root Column used only fillMaxSize with no width cap. Fixed both by capping the content Column at widthIn(max = 480.dp), centered in the remaining space via Box alignment; modifier order matters here (widthIn must precede fillMaxWidth in the chain, since fillMaxWidth first would lock min=max to the full available width before the cap could apply). Live-verified at the wide override across all 3 onboarding cards plus the create-vault/lock screen: content now caps and centers correctly instead of stretching full-bleed. Scope note: this fixes the two worst-offending 'hero card' screens: the many other top-bar+scrollable-form screens (Settings, Import, Export, EntryDetail, etc.) share the same unconstrained-fillMaxSize root pattern and would need the same treatment for full tablet/foldable readiness, but that's a much larger sweep across ~15+ files left for a dedicated follow-up rather than folded into this pass.

dev · 7 weeks ago · 2026-07-24 · 2.6 MB

session: wide-screen/foldable audit: cap hero-card content width ยท agent: claude-sonnet-5

$ koh steal kepr.uk/peach-android@d8c36c86dde0
·
← 6708bbf7f7ac 7e62540bd7b5 →
⇓ download .face