fix(kanban): reset code element background inside board

The Nous DS globals.css applies a global rule:
  code { background: var(--midground); color: var(--background); }

This paints an opaque cream/yellow fill on every <code> element,
which hides text in the kanban drawer's event-payload, run-meta,
and worker-log panes (all rendered as <code>).

Fix: scope a reset inside .hermes-kanban so <code> elements inherit
their parent's color and stay transparent.
This commit is contained in:
liuguangyong 2026-05-06 17:54:40 +08:00 committed by Teknium
parent b1e0ef82f6
commit 17687911b7

View file

@ -9,6 +9,15 @@
width: 100%;
}
/* Override the Nous DS global `code { background: var(--midground) }` rule
which paints an opaque cream/yellow fill on every <code> inside the board,
hiding the text underneath. Kanban uses <code> for event payloads, run-meta,
and log panes those need transparent backgrounds. */
.hermes-kanban code {
background: transparent;
color: inherit;
}
/* ---- Columns layout -------------------------------------------------- */
.hermes-kanban-columns {