From 13c513b31434221e06b6766f41c4b27001cec3bd Mon Sep 17 00:00:00 2001 From: mARTin Date: Fri, 13 Feb 2026 22:48:45 +0100 Subject: [PATCH] Refactor: Unify task hover icon behavior across all variants --- src/components/WeeklyView.tsx | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/src/components/WeeklyView.tsx b/src/components/WeeklyView.tsx index 345b7c6..0a0fb7f 100644 --- a/src/components/WeeklyView.tsx +++ b/src/components/WeeklyView.tsx @@ -3010,23 +3010,18 @@ function TaskItem({ task, isEditing, onToggle, onEdit, onUpdate, onDelete, onNot ) : ( <> { if (variant === 'default') onToggle(); - // For minimal, parent onClick handles edit + // For minimal/someday, parent onClick handles edit }} onDoubleClick={variant === 'default' ? onEdit : undefined} - style={variant === 'minimal' ? { fontSize: '0.9375rem' } : undefined} + style={variant === 'minimal' || isSomeday ? { fontSize: '0.9375rem' } : undefined} > {task.title} -
+
{/* Edit */}