diff --git a/ondeck/src/app/(dashboard)/tasks/page-client.tsx b/ondeck/src/app/(dashboard)/tasks/page-client.tsx index 14486ec..ddd6766 100644 --- a/ondeck/src/app/(dashboard)/tasks/page-client.tsx +++ b/ondeck/src/app/(dashboard)/tasks/page-client.tsx @@ -239,11 +239,11 @@ function TaskCard({ task: initial }: { task: Task }) { )} - {/* Right sidebar: 2-col grid */} -
-
- {/* Left col: Due / Status / Level (data only) */} -
+ {/* Right sidebar: 2-col — data col auto-width, icon col fixed */} +
+
+ {/* Left col: Due / Status / Level (data only, fit to content) */} +
{formatDate(task.dueDate)} @@ -252,8 +252,8 @@ function TaskCard({ task: initial }: { task: Task }) { {levelLabel}
- {/* Right col: Complete / N/A / Edit (icons) */} -
+ {/* Right col: Complete / N/A / Edit (icon-only) */} +
{task.status !== 'COMPLETED' && task.status !== 'NA' && task.status !== 'CANCELLED' && ( @@ -271,7 +271,7 @@ function TaskCard({ task: initial }: { task: Task }) { className="p-1.5 rounded text-muted-foreground hover:text-foreground hover:bg-muted transition-colors" title="Mark as N/A" > - + )}
{/* Notes: full width bottom */}