Skip to content

Fix homepage showcase layout shift#546

Open
decofe wants to merge 1 commit into
mainfrom
centaur/fix-home-toggle-layout-shift-1782261222
Open

Fix homepage showcase layout shift#546
decofe wants to merge 1 commit into
mainfrom
centaur/fix-home-toggle-layout-shift-1782261222

Conversation

@decofe

@decofe decofe commented Jun 24, 2026

Copy link
Copy Markdown
Member

Summary

  • reserve a stable visual/code panel height on the homepage transaction and token showcases
  • prevent section height changes when toggling between Diagram and Code

Verification

  • pnpm check:types
  • pnpm build (completed; transient GitHub fetch timeout logged during changelog SSG, build exited 0)
  • pnpm exec biome check src/marketing/app/_components/TransactionsShowcase.tsx src/marketing/app/_components/TokensShowcase.tsx
  • Playwright measurements on http://localhost:5173/ confirmed both affected sections keep identical bounding-box heights across Diagram -> Code -> Diagram

Prompted by: @tmm

@vercel

vercel Bot commented Jun 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
tempo-docs Ready Ready Preview, Comment Jun 24, 2026 12:39am

Request Review

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.

2 participants