chore: limit commit message to 4 line

This commit is contained in:
Sushan Yadav 2024-02-28 12:24:14 +05:45
parent 97fea83582
commit 951fd9a3f3

View File

@ -55,7 +55,10 @@ const ActivityCard = ({ activity }: ActivityCardProps) => {
</span>
</span>
</span>
<p className="text-sm tracking-tight text-elements-mid-em mt-2">
<p
title={activity.commit.message}
className="text-sm line-clamp-4 tracking-tight text-elements-mid-em mt-2"
>
{activity.commit.message}
</p>
</div>