Truncate long project short names to prevent overflow in project card
This commit is contained in:
parent
2d7c7ada96
commit
983d8d6091
@ -94,10 +94,11 @@ const ProjectCard = ({ projectData, recall }) => {
|
||||
style={{ fontSize: "xx-large" }}
|
||||
></i>
|
||||
</div>
|
||||
<div className="me-2">
|
||||
<div className="me-2 text-wrap ">
|
||||
<h5
|
||||
className="mb-0 stretched-link text-heading text-start"
|
||||
className="mb-0 stretched-link text-heading text-start text-truncate"
|
||||
onClick={handleViewProject}
|
||||
style={{ maxWidth: "180px", display: "inline-block" }}
|
||||
>
|
||||
{projectInfo.shortName
|
||||
? projectInfo.shortName
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user