From c65ea55a01db5e79934dc0bc5cb93cf0bf2585e0 Mon Sep 17 00:00:00 2001 From: Chris Veleris Date: Wed, 23 Jul 2025 16:27:05 +0300 Subject: [PATCH] Improve modals rounded corners --- frontend/components/Area/AreaModal.tsx | 6 +++--- frontend/components/Inbox/InboxItemDetail.tsx | 15 +++++++++++---- frontend/components/Note/NoteModal.tsx | 6 +++--- frontend/components/Project/ProjectModal.tsx | 6 +++--- frontend/components/Tag/TagModal.tsx | 4 ++-- .../components/Task/TaskForm/TaskTitleSection.tsx | 2 +- frontend/components/Task/TaskModal.tsx | 4 ++-- frontend/components/Task/TimelinePanel.tsx | 2 +- 8 files changed, 26 insertions(+), 19 deletions(-) diff --git a/frontend/components/Area/AreaModal.tsx b/frontend/components/Area/AreaModal.tsx index d4a398b..b22c895 100644 --- a/frontend/components/Area/AreaModal.tsx +++ b/frontend/components/Area/AreaModal.tsx @@ -164,7 +164,7 @@ const AreaModal: React.FC = ({ >
{/* Main Form Section */} -
+
= ({ >
{/* Area Title Section - Always Visible */} -
+
= ({
{/* Action Buttons - Below border with custom layout */} -
+
{/* Left side: Delete and Cancel */}
{area && diff --git a/frontend/components/Inbox/InboxItemDetail.tsx b/frontend/components/Inbox/InboxItemDetail.tsx index 9f54cad..4a87a79 100644 --- a/frontend/components/Inbox/InboxItemDetail.tsx +++ b/frontend/components/Inbox/InboxItemDetail.tsx @@ -20,7 +20,7 @@ interface InboxItemDetailProps { item: InboxItem; onProcess: (id: number) => void; onDelete: (id: number) => void; - onUpdate?: (id: number, content: string) => Promise; + onUpdate?: (id: number) => Promise; openTaskModal: (task: Task, inboxItemId?: number) => void; openProjectModal: (project: Project | null, inboxItemId?: number) => void; openNoteModal: (note: Note | null, inboxItemId?: number) => void; @@ -401,9 +401,16 @@ const InboxItemDetail: React.FC = ({ >
-

+ {/* Tags and Projects display - TaskHeader style */} {(hashtags.length > 0 || projectRefs.length > 0) && ( @@ -498,7 +505,7 @@ const InboxItemDetail: React.FC = ({