Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

style: update delete button styling for improved UX

Andrej Acevskic8c2d7306179
diff --git a/apps/web/src/components/task/task-info.tsx b/apps/web/src/components/task/task-info.tsx
index eacc32262..c7a224733 100644
--- a/apps/web/src/components/task/task-info.tsx
+++ b/apps/web/src/components/task/task-info.tsx
@@ -213,7 +213,7 @@ function TaskInfo({
</Form>
<Button
onClick={handleDeleteTask}
- className="bg-red-600 text-white hover:bg-red-500 dark:bg-red-500 dark:hover:bg-red-400"
+ className="w-full mt-4 px-3 py-2 text-sm text-red-600 dark:text-red-400 bg-red-50 dark:bg-red-500/10 hover:bg-red-100 dark:hover:bg-red-500/20 border border-red-200 dark:border-red-500/20 rounded-md disabled:opacity-50 disabled:cursor-not-allowed transition-colors"
>
{isDeleting ? "Deleting..." : "Delete Task"}
</Button>