Skip to content

fix(contributors): use table layout for HTML format to prevent vertical stacking#73

Merged
CalvinAllen merged 1 commit into
mainfrom
fix/contributors/html-table-layout
Apr 15, 2026
Merged

fix(contributors): use table layout for HTML format to prevent vertical stacking#73
CalvinAllen merged 1 commit into
mainfrom
fix/contributors/html-table-layout

Conversation

@CalvinAllen

Copy link
Copy Markdown
Contributor

Summary

  • GitHub's Markdown renderer now injects display: block on <img> elements with explicit width/height attributes (via js-gh-image-fallback), causing each contributor avatar to render on its own line instead of inline
  • Wraps HTML format contributors in <table><tr><td> structure so table cells force horizontal layout regardless of the injected style
  • Markdown format is unaffected and remains unchanged

Test plan

  • Manually trigger the contributors workflow on a repo using output-format: html (e.g., VS-MCPServer)
  • Verify contributor avatars render horizontally in the README
  • Verify markdown-format repos are unaffected

…al stacking

GitHub's Markdown renderer now injects display:block on img elements with
explicit width/height attributes (via js-gh-image-fallback), causing each
contributor avatar to render on its own line. Wrapping each contributor in
a table cell forces horizontal layout regardless of the injected style.
@CalvinAllen CalvinAllen merged commit 56443d6 into main Apr 15, 2026
@CalvinAllen CalvinAllen deleted the fix/contributors/html-table-layout branch April 15, 2026 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant