refactor(enhanced-kanban): clean up TaskCard component structure

- Reformatted the TaskCard component for improved readability by adjusting indentation and spacing.
- Ensured consistent styling and structure for the drop indicator and task card elements.
- Maintained existing functionality while enhancing code clarity and maintainability.
This commit is contained in:
shancds
2025-07-03 14:08:09 +05:30
parent 8134c6af35
commit e84ab43b36

View File

@@ -32,11 +32,13 @@ const TaskCard: React.FC<TaskCardProps> = memo(({
<div
style={{
height: 80,
margin: '8px 0',
background: themeMode === 'dark' ? '#2a2a2a' : '#f0f0f0',
borderRadius: 6,
border: `5px`
}}
onDragStart={e => onTaskDragStart(e, task.id!, groupId)}
onDragOver={e => onTaskDragOver(e, groupId, idx)}
onDrop={e => onTaskDrop(e, groupId, idx)}
/>
)}
<div