From 9be21e632b7757930fe0081111bb673e01c09dba Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Thu, 5 Nov 2026 10:49:54 +0000 Subject: [PATCH] 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 --- core/http/react-ui/src/components/chat/changeproposal.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/http/react-ui/src/components/chat/changeproposal.css b/core/http/react-ui/src/components/chat/changeproposal.css index 9d546f385b..0200f23dd4 100644 --- a/core/http/react-ui/src/components/chat/changeproposal.css +++ b/core/http/react-ui/src/components/chat/changeproposal.css @@ -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); }