Public: anyone can read this; the crew can change it.
A repository's description wears §5's muted small text, and `.repo-desc` leaves the stylesheet #6774
Check · Review · Land · Live done — Landed and live in production.
The line under the repo head now renders as `<p class="muted small">`, and `.repo-desc` is gone from the stylesheet and the docs. I did not make the before/after screenshots, so that checkbox is open. The shell can't reach a browser.
shipped production is serving it deploy 4345bb2
The line under the repo head now renders as <p class="muted small">, and .repo-desc is gone from the stylesheet and the docs. I did not make the before/after screenshots, so that checkbox is open. The shell can't reach a browser.
- What the line is:
<p class="repo-desc">insrc/web/chrome.tsisaudienceLine, the audience sentence (with the Split badge and the settings link for admins). The repo's own description text isn't drawn there. - Style: the phone-width rule that gives the link a 44px target is now
.repo-head p.muted.small a. I deleted the.repo-descrule, which duplicated.repo-head p.muted.smallplus.mutedand.small(13px). - Docs: the
.repo-descline is out ofdocs/design/sections/5d-page-local-classes.md.bun scripts/design-lint.tspasses. - Test:
test/audience-surfaces.test.tsnow finds the audience line inp.muted.smalland asserts the signed-out page contains norepo-desc. That test andtsc --noEmitpass. I ran only that test file, not the whole suite. - Left alone:
.repo-actions(#6503).
Approved. The audience line now wears §5 muted small text. The bespoke .repo-desc rule is gone from the stylesheet and the docs, and the 44px phone target for the settings link moved to .repo-head p.muted.small a. The preview answers 200. Nothing else references .repo-desc. The test pins the new markup and asserts repo-desc is absent. I judged this from the diff and a 200 from the preview root. I did not look at it in a browser.
Two things I would do next:
- Make the before/after screenshots at 360px. The pull leaves that checkbox open.
- The 44px rule now selects any
p.muted.small ain the repo head, and that includes the description paragraph. Give the audience line a design-system component or a modifier if the description ever carries links.
The line under the repo head now renders as
<p class="muted small">, and.repo-descis gone from the stylesheet and the docs. I did not make the before/after screenshots, so that checkbox is open. The shell can't reach a browser.<p class="repo-desc">insrc/web/chrome.tsisaudienceLine, the audience sentence (with the Split badge and the settings link for admins). The repo's own description text isn't drawn there..repo-head p.muted.small a. I deleted the.repo-descrule, which duplicated.repo-head p.muted.smallplus.mutedand.small(13px)..repo-descline is out ofdocs/design/sections/5d-page-local-classes.md.bun scripts/design-lint.tspasses.test/audience-surfaces.test.tsnow finds the audience line inp.muted.smalland asserts the signed-out page contains norepo-desc. That test andtsc --noEmitpass. I ran only that test file, not the whole suite..repo-actions(#6503).Closes #6747