Skip to content

fix: keep card dealer cards below sticky page chrome - #235

Merged
starc007 merged 1 commit into
mainfrom
fix/card-dealer-stacking
Oct 26, 2026
Merged

starc007 merged 1 commit into
mainfrom
fix/card-dealer-stacking

Conversation

@starc007

Copy link
Copy Markdown
Owner

Card Dealer cards drew over the site's fixed header when the page scrolled: each card carries a z-index (deck 0 to 51, hand 100+, pile 400+) and the table did not create its own stacking context, so those values competed with the header's.

The table is now isolate, so card z-indices only order cards against each other. updatedAt and this week's changelog entry are updated.

Verification

  • bun run check, card dealer a11y test
  • Browser: with the hand scrolled under the fixed header, the header is the top element at the overlap

The table now isolates its stacking context, so card z-indices only order cards against each other and no longer draw over a fixed or sticky page header.
@starc007
starc007 merged commit 41a330b into main Oct 26, 2026
1 check passed
@starc007
starc007 deleted the fix/card-dealer-stacking branch October 26, 2026 06:52
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