Skip to content

Commit adf4a96

Browse files
author
Sadik Saifi
committed
fix(cards): add ellipsis in truncated title text.
1 parent 1f898a5 commit adf4a96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/Card.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function Card({ repo }: Props) {
2929
title={repo.name}
3030
target="_blank"
3131
rel="noreferrer"
32-
className={`text-3xl card-title link link-hover text-2023-bavarian-gold-2 overflow-hidden whitespace-nowrap overflow-ellipsis`}
32+
className="text-3xl cursor-pointer hover:underline text-2023-bavarian-gold-2 whitespace-nowrap overflow-hidden text-ellipsis max-w-full"
3333
>
3434
{repo.name}
3535
</a>

0 commit comments

Comments
 (0)