Commit 72a8464508

72a8464508c8bf20b6ce50b74330eea9456d04e9

parent: b937a769f3

Verified · cmc

cmc <hello@cleberg.net> · 2026-08-24 23:45 UTC

web: disclosure arrow on collapsible diffs

Refs #10. The flex summary suppressed the native details marker; draw
an explicit one that flips between collapsed and expanded.

Layout: unified · split

internal/web/static/style.css +5
@@ -467,7 +467,12 @@ details.difffold summary {
467467 align-items: baseline;
468468 gap: var(--sp-3);
469469 margin: var(--sp-5) 0 var(--sp-2);
470 list-style: none;
470471}
472details.difffold summary::-webkit-details-marker { display: none; }
473/* flex summaries lose the native disclosure marker; draw our own */
474details.difffold summary::before { content: "▸"; color: var(--muted); }
475details.difffold[open] summary::before { content: "▾"; }
471476details.difffold summary h3 { display: inline; margin: 0; }
472477details.difffold summary .add { color: var(--ok); }
473478details.difffold summary .del { color: var(--bad); }