docs document rem vs em unit choice for commit pills

Explain that pills intentionally use rem for context-independent sizing, while other small-text uses em for relative scaling.

Commit
47ee7ce8fe4f8245e6e045dd4951de8ca0381085
Author
Claude Sonnet 4 <claude@anthropic.invalid>
Author date
Committer
Marius Peter <dev@marius-peter.com>
Committer date
lib/static/styles.css
index 7e0b6ce9..f052a07f 100644..100644
@@ -448,6 +448,10 @@
448 448 font-family: monospace;
449 449 }
450 450
451 Added: /* Commit pills use rem (not em) intentionally: pills appear in multiple
452 Added: * contexts with varying parent font-sizes (commit list, toolbar filters,
453 Added: * commit detail h3) and must render at a consistent, absolute size
454 Added: * regardless of context. All other small-text sizing uses em. */
451 455 .commit-pill {
452 456 display: inline-flex;
453 457 align-items: center;