fix: words breaking abruptly (#1371)
This commit is contained in:
parent
ca799a2b02
commit
428d0dbac9
25 changed files with 42 additions and 38 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue