diff --git a/frontend/src/components/tasks/TaskDetailsHeader.tsx b/frontend/src/components/tasks/TaskDetailsHeader.tsx index 5d1960c7..8ab2aed4 100644 --- a/frontend/src/components/tasks/TaskDetailsHeader.tsx +++ b/frontend/src/components/tasks/TaskDetailsHeader.tsx @@ -53,10 +53,10 @@ export function TaskDetailsHeader({ return (
{/* Title and Task Actions */} -
+
-

+

{task.title}

@@ -118,27 +118,27 @@ export function TaskDetailsHeader({
{/* Description */} -
-
+
+
{task.description ? (

200 - ? 'line-clamp-6' + className={`text-xs whitespace-pre-wrap text-muted-foreground ${ + !isDescriptionExpanded && task.description.length > 150 + ? 'line-clamp-3' : '' }`} > {task.description}

- {task.description.length > 200 && ( + {task.description.length > 150 && (
) : ( -

+

No description provided

)}