fix(kanban): reset <code> background inside dashboard board#20687
Merged
Conversation
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 was referenced May 6, 2026
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Event payloads, run metadata, and markdown code blocks inside the kanban board are no longer hidden by the Nous DS global
code { background: var(--midground) }fill.Root cause
Nous DS ships a global rule that paints an opaque cream/yellow background on every
<code>element. The kanban dashboard uses<code>forhermes-kanban-event-payload,hermes-kanban-run-meta, and markdown code. The DS rule won on specificity — cards rendered as unreadable chips.Fix
Add a single scoped override at
.hermes-kanban code { background: transparent; color: inherit; }. Higher specificity than barecode, cascades to all three sites — no per-selector patching needed.Changes
plugins/kanban/dashboard/dist/style.css: +9 lines (one rule block)scripts/release.py: AUTHOR_MAP entry for @liuguangyong93Alternatives considered
3 competing PRs (#20461, #19319, #18424) patched individual selectors downstream or added chip styling. All close as superseded by this root-cause fix.
Validation
Cherry-picked from PR #20648 by @liuguangyong93, authorship preserved.