From c776a287cb72c6a1d7cc80da4b74e2e0d4a45771 Mon Sep 17 00:00:00 2001 From: anmolsinghbhatia Date: Mon, 1 May 2023 17:58:04 +0530 Subject: [PATCH] delete attachment and member modal theming --- .../issues/delete-attachment-modal.tsx | 12 ++++++------ .../project/confirm-project-member-remove.tsx | 14 ++++++++------ .../confirm-workspace-member-remove.tsx | 16 +++++++++------- 3 files changed, 23 insertions(+), 19 deletions(-) diff --git a/apps/app/components/issues/delete-attachment-modal.tsx b/apps/app/components/issues/delete-attachment-modal.tsx index 645b4ba5d..85450809a 100644 --- a/apps/app/components/issues/delete-attachment-modal.tsx +++ b/apps/app/components/issues/delete-attachment-modal.tsx @@ -75,7 +75,7 @@ export const DeleteAttachmentModal: React.FC = ({ isOpen, setIsOpen, data leaveFrom="opacity-100" leaveTo="opacity-0" > -
+
@@ -89,8 +89,8 @@ export const DeleteAttachmentModal: React.FC = ({ isOpen, setIsOpen, data leaveFrom="opacity-100 translate-y-0 sm:scale-100" leaveTo="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" > - -
+ +
= ({ isOpen, setIsOpen, data
Delete Attachment
-

+

Are you sure you want to delete attachment-{" "} {getFileName(data.attributes.name)}? This attachment will be permanently removed. This action cannot be @@ -116,7 +116,7 @@ export const DeleteAttachmentModal: React.FC = ({ isOpen, setIsOpen, data

-
+
Cancel { diff --git a/apps/app/components/project/confirm-project-member-remove.tsx b/apps/app/components/project/confirm-project-member-remove.tsx index e2cdf1af7..ffa67c344 100644 --- a/apps/app/components/project/confirm-project-member-remove.tsx +++ b/apps/app/components/project/confirm-project-member-remove.tsx @@ -63,21 +63,23 @@ const ConfirmProjectMemberRemove: React.FC = ({ isOpen, onClose, data, ha />
- + Remove {data?.email}?

- Are you sure you want to remove member- {" "} - {data?.email} - ? They will no longer have access to this project. This action - cannot be undone. + Are you sure you want to remove member-{" "} + {data?.email}? They will no longer have + access to this project. This action cannot be undone.

-
+
Cancel {isDeleteLoading ? "Removing..." : "Remove"} diff --git a/apps/app/components/workspace/confirm-workspace-member-remove.tsx b/apps/app/components/workspace/confirm-workspace-member-remove.tsx index 9a9df93b7..18e127404 100644 --- a/apps/app/components/workspace/confirm-workspace-member-remove.tsx +++ b/apps/app/components/workspace/confirm-workspace-member-remove.tsx @@ -39,7 +39,7 @@ const ConfirmWorkspaceMemberRemove: React.FC = ({ isOpen, onClose, data, leaveFrom="opacity-100" leaveTo="opacity-0" > -
+
@@ -63,21 +63,23 @@ const ConfirmWorkspaceMemberRemove: React.FC = ({ isOpen, onClose, data, />
- + Remove {data?.email}?

- Are you sure you want to remove member- {" "} - {data?.email} - ? They will no longer have access to this workspace. This action - cannot be undone. + Are you sure you want to remove member-{" "} + {data?.email}? They will no longer have + access to this workspace. This action cannot be undone.

-
+
Cancel {isDeleteLoading ? "Removing..." : "Remove"}