mirror of
https://github.com/mudler/LocalAI.git
synced 2026-11-06 04:23:15 -05:00
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:
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); }
|
||||
Reference in new issue
Block a user