From 17687911b7c57a2357123c05ab3265d820b5e6d6 Mon Sep 17 00:00:00 2001 From: liuguangyong Date: Wed, 6 May 2026 17:54:40 +0800 Subject: [PATCH] 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 element, which hides text in the kanban drawer's event-payload, run-meta, and worker-log panes (all rendered as ). Fix: scope a reset inside .hermes-kanban so elements inherit their parent's color and stay transparent. --- plugins/kanban/dashboard/dist/style.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/plugins/kanban/dashboard/dist/style.css b/plugins/kanban/dashboard/dist/style.css index d10b766bd2..2555836b2a 100644 --- a/plugins/kanban/dashboard/dist/style.css +++ b/plugins/kanban/dashboard/dist/style.css @@ -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 inside the board, + hiding the text underneath. Kanban uses for event payloads, run-meta, + and log panes — those need transparent backgrounds. */ +.hermes-kanban code { + background: transparent; + color: inherit; +} + /* ---- Columns layout -------------------------------------------------- */ .hermes-kanban-columns {