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:
parent
bef2725fdd
commit
3834f5c209
1 changed files with 4 additions and 2 deletions
|
|
@ -106,8 +106,10 @@ export function CollectionList({ upload, title }: CollectionListProps) {
|
||||||
<li key={doc.id} style={{ marginBottom: 6 }}>
|
<li key={doc.id} style={{ marginBottom: 6 }}>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
border: isActive ? "3px solid #0050b3" : "1px solid #ccc",
|
// Always-blue palette to mirror the evidence-card
|
||||||
background: isActive ? "#e8f0ff" : "white",
|
// "always-yellow + thicker border when active" pattern.
|
||||||
|
border: isActive ? "3px solid #0050b3" : "1px solid #0050b3",
|
||||||
|
background: "#e8f0ff",
|
||||||
display: "flex",
|
display: "flex",
|
||||||
flexDirection: "column",
|
flexDirection: "column",
|
||||||
fontSize: 12,
|
fontSize: 12,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue