Skip to content

fix(launchpad): center the page on a desktop viewport and widen the column - #61

Merged
onamfc merged 1 commit into
mainfrom
launchpad-desktop-layout
Sep 18, 2026
Merged

onamfc merged 1 commit into
mainfrom
launchpad-desktop-layout

Conversation

@onamfc

@onamfc onamfc commented Sep 18, 2026

Copy link
Copy Markdown
Member

On a desktop the Launchpad page read as a phone page sitting on a large background: a 40rem column pinned to the top-left of the viewport with the content hugging the top.

  • .lp is now max-width: 48rem, so the hero template's image gets room beside the text instead of stacking the title five lines deep.
  • body is a column flex container with min-height: 100vh, and .lp uses margin: auto: when the viewport is taller than the page the column sits centered vertically; when the page is taller (every phone) the auto margins collapse to zero and it scrolls from the top exactly as before. No script, no media query.

Test pins both rules. 393 passing.

…olumn

The column was a phone width (40rem) pinned to the top-left of the
background on a desktop. It is now 48rem, so a hero image has room beside
the text, and it centers vertically when the viewport is taller than the
page (auto margins on a flex child, which collapse to zero when the page is
taller, so a phone still scrolls from the top).
@codecov

codecov Bot commented Sep 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@onamfc
onamfc merged commit 5fb0667 into main Sep 18, 2026
14 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 18, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant