Skip to content

align-issue-labels - Keep spacing on org repository lists - #10341

Merged
fregante merged 6 commits into
mainfrom
claude/align-issue-labels-org-repos
Nov 1, 2026
Merged

fregante merged 6 commits into
mainfrom
claude/align-issue-labels-org-repos

Conversation

@fregante

@fregante fregante commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

Created by Claude, will be reviewed by @fregante first.

The padding-bottom: 0 rule on the list item inner element also matched the org repositories list. That rule only makes sense when the title container is display: contents and the labels row supplies the spacing, but #10324 made that list skip it, so the repository rows lost their bottom padding. The rule now only applies to list items that have a labels row (trailingBadgesContainer outside a DefaultItemTitleContainer title container), which the org list lacks. It uses child combinators only.

Fixes #10340

Test URLs

https://github.com/pulls
https://github.com/bmish/eslint-doc-generator/pulls
https://github.com/bmish/eslint-doc-generator/issues
https://github.com/bmish/eslint-doc-generator/milestone/1?closed=1
https://github.com/nrwl/nx/issues
https://github.com/orgs/Qv2ray/repositories

Checked

Logged out only, by comparing the server-rendered markup of https://github.com/orgs/refined-github/repositories with an issue list: both share the same inner class structure, and only the org list has DefaultItemTitleContainer on its title container. The labels row element is present on issue rows even when no label is set. Not tried in a browser.

Reviewer tasks

  • Open the org repositories list, with and without the feature enabled, and confirm the vertical spacing of the rows is identical
  • Open an issue list and the global PR list (logged in) and confirm labels are still aligned below the title with the same spacing as before

@github-actions github-actions Bot added the bug label Oct 29, 2026
@fregante

fregante commented Nov 1, 2026

Copy link
Copy Markdown
Member Author

Fixed

Screenshot 1

@fregante
fregante marked this pull request as ready for review November 1, 2026 10:36
@fregante

fregante commented Nov 1, 2026

Copy link
Copy Markdown
Member Author

Conversation lists unaffected: repo and global

Screenshot 3 Screenshot 2

@fregante
fregante merged commit 230cdad into main Nov 1, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

align-issue-labels unexpectedly changes spacing on organization repository lists

2 participants