Skip to content

Fix Git badge PR icon alignment when diff stats are shown#99

Merged
SDSLeon merged 1 commit into
masterfrom
lightcode/vivid-tern-11f531b1
Jun 3, 2026
Merged

Fix Git badge PR icon alignment when diff stats are shown#99
SDSLeon merged 1 commit into
masterfrom
lightcode/vivid-tern-11f531b1

Conversation

@SDSLeon

@SDSLeon SDSLeon commented Jun 3, 2026

Copy link
Copy Markdown
Owner

Type: Bugfix

  • Reorder sidebar Git badge content so insertion/deletion counts render before the PR icon, keeping the icon aligned with the timestamp when both are visible.
  • Add shrink-0 on the PR and worktree fork icons so flex layout does not compress them when diff stats are present.
  • Add a regression test that asserts diff stats precede the PR icon in the DOM when both are shown.
  • Ignore mcps/ in .gitignore so local MCP config is not committed.

- Move +/- change counts ahead of PR and worktree fork icons
- Add shrink-0 on icons to prevent flex compression
- Add regression test for stat vs PR icon DOM order
- Ignore mcps/ directory in .gitignore
@vercel

vercel Bot commented Jun 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
lightcode-landing Ready Ready Preview, Comment Jun 3, 2026 5:13am

@SDSLeon SDSLeon merged commit 06a7fb8 into master Jun 3, 2026
6 checks passed
@SDSLeon SDSLeon deleted the lightcode/vivid-tern-11f531b1 branch June 3, 2026 05:17
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