diff --git a/client/src/components/TaskCard.tsx b/client/src/components/TaskCard.tsx index 3eeceb9..e2030a3 100644 --- a/client/src/components/TaskCard.tsx +++ b/client/src/components/TaskCard.tsx @@ -295,6 +295,7 @@ export default function TaskCard({ task, onStartTimer, onStopTimer, onEdit, onDe : null; return ( +
@@ -349,12 +351,12 @@ export default function TaskCard({ task, onStartTimer, onStopTimer, onEdit, onDe }} > {/* Parent Task Link rendered in title now */} -

+

{parentTask ? ( - - {parentTask.title} + + {parentTask.title} - {task.title} + {task.title} ) : ( task.title @@ -366,7 +368,7 @@ export default function TaskCard({ task, onStartTimer, onStopTimer, onEdit, onDe

)} -
+
+
); } \ No newline at end of file diff --git a/client/src/components/TasksWithCalendar.tsx b/client/src/components/TasksWithCalendar.tsx index fb37f31..25d120c 100644 --- a/client/src/components/TasksWithCalendar.tsx +++ b/client/src/components/TasksWithCalendar.tsx @@ -355,7 +355,7 @@ export default function TasksWithCalendar({ tasks, onTaskUpdate, onTaskEdit, onT
{/* Scrollable Task List */} -
+
{unscheduledTasks.length === 0 ? (

@@ -409,7 +409,7 @@ export default function TasksWithCalendar({ tasks, onTaskUpdate, onTaskEdit, onT

{/* Calendar Section - Fixed at bottom */} -
+
{/* Calendar Header */}
diff --git a/client/src/index.css b/client/src/index.css index 376952b..f0d499f 100644 --- a/client/src/index.css +++ b/client/src/index.css @@ -6,6 +6,17 @@ html, body, #root { overflow-x: hidden; max-width: 100vw; + overscroll-behavior-x: none; +} + +/* Prevent any element from causing horizontal overflow */ +* { + max-width: 100%; +} + +/* Exceptions for elements that legitimately need wider content */ +.overflow-x-auto, [style*="grid-template-columns"] { + max-width: none; } /* LIGHT MODE */