fabrica

hanna/fabrica

fix(web): centre the private pill against the repo slug text

24afe64 · hanna committed on 2026-07-25

Tighten the repo-slug line-height so the small private badge centres on the
text's optical centre instead of the tall default h1 line box.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed by hannaSSH key fingerprint: SHA256:4g9cWhkAAw8gwqhJUcVbSnGEvdGwklW+1Aa/fMUu59k
1 files changed · +3 −0UnifiedSplit
assets/base.css +3 −0
@@ -871,6 +871,9 @@ pre.code {
871 flex-wrap: wrap;871 flex-wrap: wrap;
872 font-size: 1.4rem;872 font-size: 1.4rem;
873 font-weight: 400;873 font-weight: 400;
874 /* Tight line-height so the small private pill centres on the text's optical
875 centre rather than the tall default line box. */
876 line-height: 1;
874}877}
875.repo-slug a {878.repo-slug a {
876 color: var(--fb-accent);879 color: var(--fb-accent);