diff --git a/client/app/page.jsx b/client/app/page.jsx index 6ef4791..855196e 100644 --- a/client/app/page.jsx +++ b/client/app/page.jsx @@ -252,7 +252,7 @@ export default function Dashboard() { initial={{ opacity: 0 }} animate={{ opacity: 1 }} exit={{ opacity: 0 }} - className="fixed inset-0 bg-black/50 z-50 flex items-center justify-center" + className="fixed inset-0 bg-black/50 z-50 flex items-center justify-center p-4" onClick={() => setDeleteConfirm(null)} > e.stopPropagation()} - className="glass-panel border border-border rounded-2xl p-6 max-w-sm mx-4" + className="glass-panel border border-border rounded-2xl p-4 md:p-6 max-w-sm w-full" > -

Delete Task?

+

Delete Task?

This action cannot be undone. Are you sure you want to delete this task?

-
+
@@ -358,24 +358,24 @@ export default function Dashboard() { whileHover={{ scale: 1.01 }} whileTap={{ scale: 0.98 }} onClick={() => toggleTask(task._id, task.status)} - className={`group flex items-center p-5 rounded-2xl cursor-pointer transition-all ${ + className={`group flex items-center gap-2 md:gap-3 p-3 md:p-5 rounded-2xl cursor-pointer transition-all ${ task.status === "completed" ? "bg-surface/30 border border-transparent opacity-60" : "glass-panel hover:bg-surface-hover" }`} > -
+
{renderTaskIcon(task.status)}
- + {task.title} ))