Fix document card palette: always blue, thicker border when active

The previous iteration left inactive document cards on a
white-with-grey-border style and only flipped to light-blue on
activation. The intent (matching the evidence-card pattern of
always-yellow with a thicker border when active) was to always-blue
with a thin/thick dark-blue border.

Inactive: 1px #0050b3 on #e8f0ff
Active:   3px #0050b3 on #e8f0ff

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-27 00:17:36 +02:00
parent bef2725fdd
commit 3834f5c209

View File

@@ -106,8 +106,10 @@ export function CollectionList({ upload, title }: CollectionListProps) {
<li key={doc.id} style={{ marginBottom: 6 }}>
<div
style={{
border: isActive ? "3px solid #0050b3" : "1px solid #ccc",
background: isActive ? "#e8f0ff" : "white",
// Always-blue palette to mirror the evidence-card
// "always-yellow + thicker border when active" pattern.
border: isActive ? "3px solid #0050b3" : "1px solid #0050b3",
background: "#e8f0ff",
display: "flex",
flexDirection: "column",
fontSize: 12,