Skip to content

docs(s2): fix mismatched closing tags in Card anatomy examples - #10826

Open
SakarPaisen wants to merge 1 commit into
adobe:mainfrom
SakarPaisen:docs/fix-card-anatomy-tags-10825
Open

SakarPaisen wants to merge 1 commit into
adobe:mainfrom
SakarPaisen:docs/fix-card-anatomy-tags-10825

Conversation

@SakarPaisen

@SakarPaisen SakarPaisen commented Oct 22, 2026 •

Copy link
Copy Markdown

Closes #10825

✅ What changed and why

packages/dev/s2-docs/pages/s2/Card.mdx had three anatomy examples that open <CardPreview> but close it with </CardView>:

  • AssetCard anatomy (line ~291)
  • UserCard anatomy (line ~308)
  • ProductCard anatomy (line ~327)

This PR fixes the three closing tags to </CardPreview>, matching the intended component nesting and all the other CardPreview examples on the same page. No other files are touched.

Checks run

I checked the S2 docs MDX syntax by hand and looked at nearby examples on the same page. No MDX compile/lint script is set up in the repo to validate only this file.

Disclosure

This change was drafted with AI assistance and reviewed by a human.

@github-actions github-actions Bot added the S2 label Oct 22, 2026
@snowystinger

Copy link
Copy Markdown
Member

@reidbarber
reidbarber enabled auto-merge October 22, 2026 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

S2 docs: Card anatomy examples close <CardPreview> with </CardView>

3 participants