Skip to content

Use overflow-clip instead of overflow-hidden on .card - #194

Open
lsweigart12 wants to merge 1 commit into
hunvreus:mainfrom
lsweigart12:card-overflow-clip
Open

Use overflow-clip instead of overflow-hidden on .card#194
lsweigart12 wants to merge 1 commit into
hunvreus:mainfrom
lsweigart12:card-overflow-clip

Conversation

@lsweigart12

Copy link
Copy Markdown

overflow-hidden makes every .card a scroll container, so position: sticky inside a card silently stops working (sticky table headers never pin). shadcn's Card sets no overflow at all, and sticky works inside it. overflow-clip keeps the rounded corner clipping but does not create a scroll container, matching the shadcn behavior. Same one-word change in all eight themes.

🤖 Generated with Claude Code

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