From ae66f931f7fd394a5eeace919ad4b66cfc0153c0 Mon Sep 17 00:00:00 2001 From: lorentz Date: Fri, 10 Apr 2026 14:49:25 +0000 Subject: [PATCH] Task card: excel-style grid with sharp corners, border cells, no status bg --- .../src/app/(dashboard)/tasks/page-client.tsx | 111 +++++++++--------- 1 file changed, 55 insertions(+), 56 deletions(-) diff --git a/ondeck/src/app/(dashboard)/tasks/page-client.tsx b/ondeck/src/app/(dashboard)/tasks/page-client.tsx index 6dc46ac..7e4fe6b 100644 --- a/ondeck/src/app/(dashboard)/tasks/page-client.tsx +++ b/ondeck/src/app/(dashboard)/tasks/page-client.tsx @@ -270,65 +270,64 @@ function TaskCard({ task: initial }: { task: Task }) { )} - {/* Right sidebar: 2-col — data col auto-width, icon col fixed */} -
-
- {/* Left col: Due / Status / Level (data only, fit to content) */} -
- - {formatDate(task.dueDate)} - - - - {levelLabel} - -
- {/* Right col: Complete / N/A / Edit (icon-only) */} -
- - {task.status !== 'COMPLETED' && task.status !== 'NA' && task.status !== 'CANCELLED' && ( - - )} - -
+ {/* Right sidebar: excel-style grid */} +
+ {/* Row 1: Due date | Complete */} +
+ {formatDate(task.dueDate)}
- {/* Notes: full width bottom */} + + {/* Row 2: Status | N/A */} +
+ +
+ {task.status !== 'COMPLETED' && task.status !== 'NA' && task.status !== 'CANCELLED' ? ( + + ) : ( +
+ )} + {/* Row 3: Level | Edit */} +
+ {levelLabel} +
+ + {/* Row 4: Notes spanning both cols */}