Skip to content

Landing still mode: the pin no longer covers the first beat card (fixes #356) - #358

Merged
vs-githjk merged 1 commit into
mainfrom
v/356-still-hero
Nov 15, 2026
Merged

vs-githjk merged 1 commit into
mainfrom
v/356-still-hero

Conversation

@jeffrey-g05

Copy link
Copy Markdown
Collaborator

Closes #356. A one-line CSS freeze fix, before the 07:30 stop.

Cause (measured, not guessed):

  • .wl-pin is position: sticky; top: var(--wl-bar) (60 px). Still mode (Reduce Motion, or no WebGL) switches it to position: relative but keeps top: 60px.
  • On a relative box, top shifts it down without moving its layout box, so the pin paints 60 px over the first beat card. Being positioned, it paints above the static .wl-over, which is what clips "01 · THE HOME".
  • This hits every width in still mode, not just phones.

Fix: .wl-still .wl-pin { top: 0; } (worlds.css). Live mode is unchanged: sticky still uses top: var(--wl-bar).

How I verified:

  • Local production build (vite build + vite preview), headless Chrome via CDP, 390x664 mobile with prefers-reduced-motion: reduce.
  • Box measurements: before, pin painted at 121–692 px while the cards start at 632 (label at 682 sits under the pin). After, pin 61–632 and cards from 632, so the label is fully visible.
  • The before/after screenshots match Jeffrey's iPhone Safari report. They're on Jeffrey's laptop at data/agent_session/qa_live_0605/356-before-after.png (git-ignored).
  • npx vitest run in apps/web: 82 files, 1077 tests pass, including the locked design rules. Hygiene ok.

@vs-githjk

Copy link
Copy Markdown
Collaborator

Conductor 07:11: PASS. This is the true root cause (the relative pin keeps sticky's top), and it fixes every width. It merges alongside #357 (a phone layout change: the hero gets its own row and the drawing is shorter). They touch different lines and don't conflict. Merging on green.

@vs-githjk
vs-githjk merged commit 20301e3 into main Nov 15, 2026
3 checks passed
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.

iPhone Safari: landing step card '01 · THE HOME' cut off, and the scroll house falls back to still mode

3 participants