From 32d8a012411e50b3e0f21db234d4d4e83cfde480 Mon Sep 17 00:00:00 2001 From: CostasAK Date: Thu, 25 Jul 2024 23:49:21 +0200 Subject: [PATCH] fix(todo): add border to all todos, since last child ignores order --- src/routes/checklist.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/checklist.tsx b/src/routes/checklist.tsx index ab00bae..595cc30 100644 --- a/src/routes/checklist.tsx +++ b/src/routes/checklist.tsx @@ -292,7 +292,7 @@ function Todo({ name, reset, period = 0 }: TodoProps) { key={name} htmlFor={name} className={cn( - "flex cursor-pointer flex-row items-center gap-2 border-b border-b-neutral-725 p-4 last:border-b-0 hover:bg-neutral-750", + "flex cursor-pointer flex-row items-center gap-2 border-t border-t-neutral-725 p-4 hover:bg-neutral-750", completion > 0 && "italic opacity-50", )} style={{ order: nextReset / MINUTE + (completion > 0 ? 10 * YEAR : 0) }}