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>
<div className="mt-2">
<p className="text-sm text-gray-500">
Are you sure you want to delete cycle - {`"`}
<span className="italic">{data?.name}</span>
{`"`} ? All of the data related to the cycle will be permanently removed.
Are you sure you want to delete cycle-{" "}
<span className="font-bold">{data?.name}</span>
? All of the data related to the cycle will be permanently removed.
This action cannot be undone.
</p>
</div>

View File

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

View File

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