fix: modal typo (#629)

* fix: modal width inconsistency

* fix: modal typo
This commit is contained in:
Kunal Vishwakarma 2023-03-30 20:25:04 +05:30 committed by GitHub
parent 4441651f81
commit 73c7b1bddc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 12 deletions

View File

@ -106,9 +106,9 @@ export const DeleteCycleModal: React.FC<TConfirmCycleDeletionProps> = ({
</Dialog.Title> </Dialog.Title>
<div className="mt-2"> <div className="mt-2">
<p className="text-sm text-gray-500"> <p className="text-sm text-gray-500">
Are you sure you want to delete cycle - {`"`} Are you sure you want to delete cycle-{" "}
<span className="italic">{data?.name}</span> <span className="font-bold">{data?.name}</span>
{`"`} ? All of the data related to the cycle will be permanently removed. ? All of the data related to the cycle will be permanently removed.
This action cannot be undone. This action cannot be undone.
</p> </p>
</div> </div>

View File

@ -133,7 +133,7 @@ export const DeleteIssueModal: React.FC<Props> = ({ isOpen, handleClose, data })
Are you sure you want to delete issue{" "} Are you sure you want to delete issue{" "}
<span className="break-all font-semibold"> <span className="break-all font-semibold">
{data?.project_detail.identifier}-{data?.sequence_id} {data?.project_detail.identifier}-{data?.sequence_id}
</span>{" "} </span>{""}
? All of the data related to the issue will be permanently removed. This ? All of the data related to the issue will be permanently removed. This
action cannot be undone. action cannot be undone.
</p> </p>

View File

@ -102,9 +102,9 @@ export const DeleteModuleModal: React.FC<Props> = ({ isOpen, setIsOpen, data })
</Dialog.Title> </Dialog.Title>
<div className="mt-2"> <div className="mt-2">
<p className="text-sm text-gray-500"> <p className="text-sm text-gray-500">
Are you sure you want to delete module - {`"`} Are you sure you want to delete module- {" "}
<span className="italic">{data?.name}</span> <span className="font-bold">{data?.name}</span>
{`" ?`} All of the data related to the module will be permanently removed. ? All of the data related to the module will be permanently removed.
This action cannot be undone. This action cannot be undone.
</p> </p>
</div> </div>

View File

@ -115,14 +115,14 @@ export const DeleteWorkspaceModal: React.FC<Props> = ({ isOpen, data, onClose })
</Dialog.Title> </Dialog.Title>
<div className="mt-2"> <div className="mt-2">
<p className="text-sm text-gray-500"> <p className="text-sm text-gray-500">
Are you sure you want to delete workspace - {`"`} Are you sure you want to delete workspace- {" "}
<span className="italic">{data?.name}</span> <span className="font-bold">{data?.name}</span>
{`"`} ? All of the data related to the workspace will be permanently ? All of the data related to the workspace will be permanently
removed. This action cannot be undone. removed. This action cannot be undone.
</p> </p>
</div> </div>
<div className="mt-3"> <div className="mt-3">
<p className="text-sm"> <p className="text-sm text-gray-500">
Enter the workspace name{" "} Enter the workspace name{" "}
<span className="font-semibold">{selectedWorkspace?.name}</span> to <span className="font-semibold">{selectedWorkspace?.name}</span> to
continue: continue:
@ -139,7 +139,7 @@ export const DeleteWorkspaceModal: React.FC<Props> = ({ isOpen, data, onClose })
/> />
</div> </div>
<div className="mt-3"> <div className="mt-3">
<p className="text-sm"> <p className="text-sm text-gray-500">
To confirm, type{" "} To confirm, type{" "}
<span className="font-semibold">delete my workspace</span> below: <span className="font-semibold">delete my workspace</span> below:
</p> </p>