diff --git a/package.json b/package.json index 1a65562..14490f9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "my-weekly-todo-list", - "version": "1.59.3", + "version": "1.59.4", "description": "A web-based weekly task management application that organizes to-dos and calendar events in a single, intuitive weekly view", "main": "index.js", "scripts": { diff --git a/src/components/GridTaskBlock.tsx b/src/components/GridTaskBlock.tsx index df9f6e8..8d2f0c1 100644 --- a/src/components/GridTaskBlock.tsx +++ b/src/components/GridTaskBlock.tsx @@ -306,18 +306,18 @@ export function GridTaskBlock({ /> )} - {showProjectIcons && task.project && (() => { + {showProjectIcons && task.project && (() => { const found = allIcons.find(i => i.name === task.project!.icon); + const iconStyle = { marginRight: "4px", verticalAlign: "middle" } as const; if (found) { return found.type === "fa" - ? - : ; + ? + : ; } return task.project!.icon - ? {task.project!.icon} - : ; - })()} - {task.title} + ? {task.project!.icon} + : ; + })()}{task.title} {/* Subtask indicator */} {task.subTasks && task.subTasks.length > 0 && (() => { const completed = task.subTasks.filter(s => s.completed).length; diff --git a/src/components/WeeklyView.tsx b/src/components/WeeklyView.tsx index 5fd629a..ebf1e52 100644 --- a/src/components/WeeklyView.tsx +++ b/src/components/WeeklyView.tsx @@ -9760,11 +9760,6 @@ function TaskItem({ }} /> )} - {showProjectIcons && task.project && ( - - - - )} + {showProjectIcons && task.project && ( + + + + )} {task.title} {(() => {