Repository navigation
feat(Markdown): contentAlign prop, list/table indent, blockquote border - #1290
Merged
Merged
Conversation
cixzhang
enabled auto-merge (squash)
April 11, 2026 23:25
Contributor
PR Analysis Report📚 Storybook PreviewView Storybook for this PR 🧪 Sandbox PreviewView Sandbox for this PR Modified ComponentsMarkdown · View in Storybook
Bundle Size Summary
Accessibility AuditStatus: 2 accessibility violation(s) found — 1 critical, 1 serious. XDSMarkdown - 2 issue(s)
Generated by PR Enrichment workflow | Storybook | Sandbox | View full report |
josephfarina
added a commit
that referenced
this pull request
Apr 12, 2026
…ix Chat @example Found during Night Watch doc review (2026-04-12). - Fix XDSChatTokenizedText @example: remove blank lines and JS comments inside code block (reintroduced by #1249) - Add xds-chat-layout theming target to Chat.doc.mjs (new in #1249) - Add missing Markdown props: contentWidth, contentAlign, sources, citationStyle (from #1289, #1290) - Add missing CodeBlock props: isCollapsible, collapsibleThreshold - Add Thumbnail theming section (xds-thumbnail target) - Add Thumbnail common props: xstyle, className, style, data-testid - Add Thumbnail docsZh and docsDense translations - Add Thumbnail accessibility section Co-authored-by: Navi <[email protected]>
4 tasks done
cixzhang
added a commit
that referenced
this pull request
Apr 26, 2026
cixzhang
added a commit
that referenced
this pull request
Jun 21, 2026
cixzhang
added a commit
that referenced
this pull request
Jun 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Markdown
contentAlignprop ('start' | 'center', default:'start') — controls alignment of prose content within the container whencontentWidthis narrower than available space. Center alignment usesmarginInline: auto.marginInline: calc(-1 * --spacing-2)viaxstyleon the inner component (XDSList,XDSCheckboxList,<table>), keeping outer wrapper margins clean for spacing/alignment.contentAlign='center'— table element getsmarginInline: autoso it centers within its full-width scroll wrapper. Overflow beyond prose width is symmetric.--color-accentto--color-border-emphasizedfor subtler, more consistent appearance.proseWidthdynamic style —maxWidthandmarginInlineare now separate dynamic styles (proseWidth+proseAlign) so they don't conflict withblockIndent.Stories
WithImagesstory (landscape, portrait, panoramic)Content Align: StartandContent Align: Centerstories with 580px prose in 900px container