Skip to content

Commit

Permalink
fix(Commons): asset card title rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
jakeaturner committed May 29, 2024
1 parent 303f8cb commit 16f8e75
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const FileCardContent: React.FC<FileCardContentProps> = ({ file, ...rest }) => {
)}
<Card.Header
as="button"
className="commons-content-card-header !mt-1 !mb-1 text-left hover:underline cursor-pointer hover:!text-blue-500 break-all"
className="commons-content-card-header !mt-1 !mb-1 text-left hover:underline cursor-pointer hover:!text-blue-500 break-words hyphens-auto"
onClick={() => handleFileDownload(file)}
>
{truncateString(file.name, 50)}
Expand Down

0 comments on commit 16f8e75

Please sign in to comment.