web: cell colors and fonts tweak

This commit is contained in:
2026-05-15 01:14:56 -07:00
parent 29c6dce0e5
commit a8e765e026

View File

@@ -2510,7 +2510,7 @@ export default function App() {
onContextMenu={(event) => openContextMenu(event, { kind: item.kind, id: item.id })} onContextMenu={(event) => openContextMenu(event, { kind: item.kind, id: item.id })}
type="button" type="button"
> >
<div className="flex items-center gap-2"> <div className="grid grid-cols-[auto_minmax(0,1fr)] gap-x-2 gap-y-1">
<span <span
className={cn( className={cn(
"flex h-5 w-5 shrink-0 items-center justify-center rounded-md border", "flex h-5 w-5 shrink-0 items-center justify-center rounded-md border",
@@ -2528,11 +2528,15 @@ export default function App() {
/> />
) : null} ) : null}
</span> </span>
<span className={cn("ml-auto shrink-0 text-xs", active ? "text-violet-100/86" : "text-violet-200/50")}>{formatDate(item.updatedAt)}</span> <span className="col-start-2 flex min-w-0 items-center gap-2">
</div> <span className="shrink-0 text-xs text-secondary-foreground/70">{formatDate(item.updatedAt)}</span>
{initiatedLabel ? ( {initiatedLabel ? (
<p className={cn("mt-1 truncate text-right text-xs", active ? "text-violet-100/62" : "text-violet-200/42")}>{initiatedLabel}</p> <span className="ml-auto min-w-0 truncate text-right text-xs text-secondary-foreground/70">
{initiatedLabel}
</span>
) : null} ) : null}
</span>
</div>
</button> </button>
); );
})} })}