From 22349fb46fbf05cdf3382e71202d25f44ab6bc6c Mon Sep 17 00:00:00 2001 From: Chris Date: Sun, 22 Mar 2026 12:12:28 +0200 Subject: [PATCH] Fix visual overlap between subtasks icon and status dropdown (#958) * Fix visual overlap between subtasks icon and status dropdown Increased right padding from pr-44 to pr-48 in TaskHeader desktop view to prevent the subtasks toggle button from overlapping with the expanded status dropdown icon. Fixes #957 * Improve fix for subtasks icon and status dropdown overlap - Removed flex-1 from task name container to prevent unnecessary expansion - Wrapped SubtasksToggleButton in flex-shrink-0 div to maintain its width - Increased right padding from pr-48 to pr-56 for better spacing - This prevents the subtasks icon from overlapping with the status dropdown Fixes #957 * Fix subtasks icon placement to be adjacent to task name Moved SubtasksToggleButton to be directly after the task name within the same flex container, instead of in a separate container. This positions the icon immediately next to the task name on the left, rather than being pushed to the right where it overlaps with the status dropdown. Fixes #957 --- frontend/components/Task/TaskHeader.tsx | 26 ++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/frontend/components/Task/TaskHeader.tsx b/frontend/components/Task/TaskHeader.tsx index bd425ce..039cd11 100644 --- a/frontend/components/Task/TaskHeader.tsx +++ b/frontend/components/Task/TaskHeader.tsx @@ -183,7 +183,7 @@ const TaskHeader: React.FC = ({ {/* Full view (md and larger) */}
= ({ )}
) : ( -
-
- {task.habit_mode && ( - - )} - - {task.original_name || task.name} - +
+ {task.habit_mode && ( + + )} + + {task.original_name || task.name} + +
+
-
)} {/* Project, tags, due date, and recurrence in same row, with spacing when they exist */}