Skip to content

[Themes] Align Card content with equivalent Inset padding - #820

Open
minwookshin wants to merge 1 commit into
radix-ui:mainfrom
minwookshin:fix/812
Open

minwookshin wants to merge 1 commit into
radix-ui:mainfrom
minwookshin:fix/812

Conversation

@minwookshin

Copy link
Copy Markdown

Description

Include Card’s visual border width in its padding so body content lines up with an Inset using equivalent padding. The ghost variant keeps its existing spacing.

Testing steps

  • Added /test/card-inset-padding and a regression checking all five sizes across surface, classic, and ghost variants.
  • All 15 combinations pass in Chromium, Firefox, and WebKit; the test reproduces the 1px mismatch before the fix.
  • pnpm build, pnpm lint, and formatting checks pass.

Related issues

Fixes #812.

@vercel

vercel Bot commented Oct 4, 2026

Copy link
Copy Markdown

@minwookshin is attempting to deploy a commit to the WorkOS Team on Vercel.

A member of the Team first needs to authorize it.

This branch has not been deployed

No deployments
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.

[Card] misalignment with Inset contents

1 participant