fix(ui): use the radius token for the change proposal warning

The warning block set a raw 4px radius as the fallback of a token that does
not exist, which raised the count of raw border radii above the baseline.
Use the existing --radius-sm token.

Assisted-by: Claude:claude-sonnet-5-5
This commit is contained in:
Ettore Di Giacinto committed 2026-11-05 10:56:28 +00:00
1 parent 6977badfb5
commit 9be21e632b
1 file changed
+1 -1
@@ -34,4 +34,4 @@
.pp-item .cx-receipt { margin-top: 0; }
/* The warning of the threat scan on a knowledge text: it stays inside the card at any width. */
.cp-warning { margin: var(--dk-space-2) 0; padding: var(--dk-space-2) var(--dk-space-3); overflow-wrap: anywhere; color: var(--dk-warn-text); background: var(--dk-warn-wash); border-left: 3px solid var(--dk-warn); border-radius: var(--dk-radius-sm, 4px); }
.cp-warning { margin: var(--dk-space-2) 0; padding: var(--dk-space-2) var(--dk-space-3); overflow-wrap: anywhere; color: var(--dk-warn-text); background: var(--dk-warn-wash); border-left: 3px solid var(--dk-warn); border-radius: var(--radius-sm); }