Skip to content

fix(models): align spacing on compact model card variant - #513

Open
lucasduport wants to merge 1 commit into
mistralai:mainfrom
lucasduport:lucasduport/align-latest-models-cards
Open

fix(models): align spacing on compact model card variant#513
lucasduport wants to merge 1 commit into
mistralai:mainfrom
lucasduport:lucasduport/align-latest-models-cards

Conversation

@lucasduport

Copy link
Copy Markdown

Summary

  • Adjust the compact variant of ModelCard to consolidate spacing into a single flex gap-3 on the outer Link and increase its padding to p-3.
  • Remove the now-redundant px-4 py-2 padding from the inner content div, aligning the compact card's spacing approach with the mini variant.

Test plan

  • pnpm lint passes (0 errors)
  • Visually verify the compact ModelCard spacing/alignment in the rendered docs
  • Confirm card and mini variants are unaffected

Consolidate spacing into a single flex gap on the compact card and
remove redundant per-child padding for consistent alignment with the
mini variant.
@vercel

vercel Bot commented Jun 4, 2026

Copy link
Copy Markdown

@lucasduport is attempting to deploy a commit to the Mistral AI Team on Vercel.

A member of the Team first needs to authorize it.

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