Skip to content

dim-bots breaks bot rows in the compact PR list #10387

Open

Description

@JP-Ellis

Description

Since #10300, bot PRs in the compact PR list wrap onto two lines. The #1234 · dependabot[bot] · Bot text drops to a second line, and the status columns (reviews, checks, comments) shift left into the title cell or disappear. The default (comfortable) density looks fine.

dim-bots.css forces this template on every dimmed React row:

grid-template-areas: "selection status primary metadata actions" !important;

That template assumes main-content is an empty second row, which holds for the comfortable layout. The compact layout puts main-content (PR number, author, Bot badge) on the same line as the title, using GitHub's own single-row template:

grid-template-areas: "selection status primary main-content metadata actions";

The forced template has no main-content area, so the grid puts that cell in an implicit row below the title.

A second rule makes the status columns disappear:

> div:has([data-testid='timestamp-container'], [data-testid='updated-at'], .octicon-comment)

That rule targets the author and date line in the comfortable layout. In the compact layout, the cell it matches is the status-column container (metadataContainer). Any bot PR with comments loses its whole status column. See #1702 in the screenshot below.

Before (current behaviour):

Image

After (with the CSS below applied):

Image

This override fixes the compact layout and leaves the comfortable layout and commit lists alone:

@media (width > 544px) {
  .rgh-dim-bots:not(
      .rgh-tagged,
      .rgh-interacted,
      [data-testid="commit-row-item"]
    )[class*="listItemCompact"] {
    grid-template-areas: "selection status primary main-content metadata actions" !important;

    > [class*="metadataContainer"] {
      display: flex !important;
    }
  }
}

How to replicate the issue + URL

  1. Open https://github.com/OctoLinker/OctoLinker/pulls
  2. Switch the list to compact density with the toggle beside the sort dropdown.
  3. The dependabot rows wrap onto two lines, and #1702 has no status columns.

Extension version

26.11.6

Browser(s) used

Brave 156 (Chromium 156), macOS 26.6.1

Token ⚠️

  • I set a token in the options page. I understand that some features require a token to work.

Activity

  1. Tanmai1808 commented on Nov 10, 2026

    @Tanmai1808

    Hi! I was able to reproduce this with Refined GitHub 26.11.6 on Chrome 156.0.8078.80 (arm64) on macOS.

    In compact density on the OctoLinker pull-request list, the Dependabot PR title and bot information appeared on separate lines, and the metadata layout for #1702 was incorrect.

    I tested the CSS override suggested in the issue description. It restored the single-line layout and metadata alignment. I also checked comfortable density, which continued to look normal.

    I'd be interested in working on this issue and submitting a PR with the fix.

    Would it be okay if I proceed with the implementation? Also, please let me know if anyone is already working on it or if you have any preferences for the implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions