Commit abd6c86
authored
fix: improve inline code rendering in signal details (#1579)
### Problem
Inline code (backtick content) in signal card details is barely visible. The `Code` component uses `variant="ghost"` which has no background, and the parent container applies `color: var(--gray-11)` which makes inline code blend into surrounding text.
### Fix
Added explicit CSS rules for `code` elements in the signal card body:
- `bg-gray-4` — subtle background to distinguish code from text
- `rounded` — rounded corners
- `px-1 py-0.5` — padding for visual separation
- `font-mono` — explicit monospace font
This makes inline code clearly distinguishable from surrounding text while maintaining the compact signal card layout.
Fixes #15671 parent b6e4325 commit abd6c86
1 file changed
Lines changed: 6 additions & 1 deletion
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
255 | | - | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
256 | 261 | | |
257 | 262 | | |
258 | 263 | | |
| |||
0 commit comments