Skip to content

Prevent landing launch button layout shift - #103

Merged
drdator merged 1 commit into
mainfrom
fix/landing-launch-button-layout-shift
Aug 5, 2026
Merged

Prevent landing launch button layout shift#103
drdator merged 1 commit into
mainfrom
fix/landing-launch-button-layout-shift

Conversation

@drdator

@drdator drdator commented Aug 5, 2026

Copy link
Copy Markdown
Owner

Summary

  • reserve a fixed 15 px slot for landing-page button icons
  • keep launch-button dimensions stable while the Phosphor icon CSS loads
  • apply the same stable sizing to primary and secondary landing buttons

Verification

  • npm run check (103 files, 517 tests)
  • browser measurement: 179.109 px before and after toggling the arrow glyph, 0 px shift

@drdator
drdator merged commit fa8c745 into main Aug 5, 2026
1 check passed
@drdator
drdator deleted the fix/landing-launch-button-layout-shift branch August 5, 2026 14:36
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.

1 participant