Skip to content

extensible-nav - Repo tabs render as an unstyled bulleted list with GitHub's new Primer stylesheet #10388

Open

Description

@liamlenholm

Description

Since Nov 10 the repo nav rendered by extensible-nav shows up as an unstyled bulleted list on my account. Disabling the feature restores GitHub's native nav. It still happens after clearing the extension cache.

Cause: GitHub is serving a new Primer stylesheet to some accounts that no longer includes the base UnderlineNav and Counter styles that extensible-nav relies on.

Logged out / incognito My logged in account
Stylesheet primer-5e94d7f3a59af8da.css (411 KB) primer-DfDS81S5.css (194 KB)
.UnderlineNav-body, -item, -octicon ✅ ❌
Base .Counter ✅ ❌

This looks like a gradual rollout: the new file has been on github.githubassets.com since Oct 15, but my account only started getting it now. Logged out sessions still get the old stylesheet, so the bug won't reproduce there.

Some pages (e.g. /pulls) load page-specific CSS that still includes .Counter and a .UnderlineNav-item.selected::after rule, so counters and the underline look different from page to page.

Before:

Image

After (with fix):

Image

Note: both screenshots include #10385. Without it, the nav doesn't render at all on my account (#10383). With it applied, I can confirm the nav renders again on a logged in session, which is what that PR is waiting on.

Fix: I have a tested fix in my fork: liamlenholm@b7b9842. It restores the missing styles only inside nav.rgh-extensible-nav (extensible-nav.css), using GitHub's own variables, so it renders the same with either stylesheet. Tested logged in (new stylesheet) on Code, Issues and PRs, and logged out (old stylesheet), plus the mobile-tabs layout at narrow widths. Happy to open a PR if you'd like it.

How to replicate the issue + URL

  1. Use an account that gets the new stylesheet: on any repo page, DevTools → Network → filter primer- should show primer-DfDS81S5.css
  2. Open https://github.com/refined-github/refined-github
  3. The repo tabs render as a vertical bulleted list

Extension version

26.11.6 (Chrome Web Store), also reproduced on main (aa04100)

Browser(s) used

Chrome 156.0.8078.80 (macOS)

Token ⚠️

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

Activity

  1. added
    disabled via hotfix
    on Nov 10, 2026
  2. fregante commented on Nov 10, 2026

    @fregante
    Member

    Thanks for the report. I hotfix-disabled it (along with all the features that depend on it)

  3. liamlenholm commented on Nov 13, 2026

    @liamlenholm
    Author

    The same rollout also breaks the CI status popover from repo-header-info, and that feature isn't hotfixed.

    The newest stylesheet on my account (primer-BYYIzHdb.css, 198 KB, published Nov 10) has no .dropdown-menu rules and no base .css-truncate rule. The logged-out one (primer-2aeb1babdc762f70.css, 415 KB) still has both.

    The popover is GitHub's own .dropdown-menu.status-checks-dropdown. Without those rules it:

    • gets position: static, so it sits inside the header row and pushes the CI icon ~100px above the viewport
    • has no z-index, so the repo nav paints over it
    • doesn't truncate long check names, so "Details" overflows and a horizontal scrollbar appears

    Before

    ci-popover-broken

    After

    after-refined-github

    I have a tested fix in my fork: liamlenholm@ea419be. It only touches repo-header-info.css: it restores .dropdown-menu/-e scoped to .rgh-ci-link (wrapped in :where() so GitHub's own .commit-build-statuses .dropdown-menu rules still win) and adds the missing truncation to the existing .css-truncate-target rule. Tested on refined-github and a private repo with a failing check: the popover floats correctly above the nav, closes on outside click, and "Details" links work.

    @fregante

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

    acceptedbugdisabled via hotfix

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions