Skip to content

Commit

Permalink
Merge pull request #138 from Vizzuality/SKY30-203-kh-4-when-the-descr…
Browse files Browse the repository at this point in the history
…iption-for

[SKY30-203] adds title attribute to display full description mouse hover
  • Loading branch information
agnlez authored Jan 18, 2024
2 parents 0f14de9 + 04ceea4 commit a152cc6
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ const CardItem = ({ data }: { data: DataToolListResponseDataItem }): JSX.Element
</div>
)}
{data.attributes.description && (
<p className="line-clamp-5">{data.attributes.description}</p>
<p title={data.attributes.description} className="line-clamp-5">
{data.attributes.description}
</p>
)}
</div>
<div className="mt-5 pt-5">
Expand Down

0 comments on commit a152cc6

Please sign in to comment.