fix: words breaking abruptly (#1371)

This commit is contained in:
Aaryan Khandelwal 2023-06-23 19:30:11 +05:30 committed by GitHub
parent ca799a2b02
commit 428d0dbac9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 42 additions and 38 deletions

View file

@ -128,13 +128,13 @@ export const DeleteProjectModal: React.FC<TConfirmProjectDeletionProps> = ({
<span>
<p className="text-sm leading-7 text-brand-secondary">
Are you sure you want to delete project{" "}
<span className="break-all font-semibold">{selectedProject?.name}</span>? All
of the data related to the project will be permanently removed. This action
cannot be undone
<span className="break-words font-semibold">{selectedProject?.name}</span>?
All of the data related to the project will be permanently removed. This
action cannot be undone
</p>
</span>
<div className="text-brand-secondary">
<p className="break-all text-sm ">
<p className="break-words text-sm ">
Enter the project name{" "}
<span className="font-medium text-brand-base">{selectedProject?.name}</span>{" "}
to continue:

View file

@ -195,7 +195,7 @@ export const SingleProjectCard: React.FC<ProjectCardProps> = ({
</span>
) : null}
</div>
<p className="mt-3.5 mb-7 break-all">
<p className="mt-3.5 mb-7 break-words">
{truncateText(project.description ?? "", 100)}
</p>
</a>