Skip to content

Commit d9224d5

Browse files
committed
Fixes repo name overflow issue from card
1 parent 2ba2565 commit d9224d5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

components/Card.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,12 @@ function Card({ repo }: Props) {
2525
className="rounded-full"
2626
/>
2727
</a>
28-
<h2>
28+
<h2 className="text-3xl cursor-pointer hover:underline text-2023-bavarian-gold-2 whitespace-nowrap overflow-hidden text-ellipsis max-w-full">
2929
<a
3030
href={repo.html_url}
3131
title={repo.name}
3232
target="_blank"
3333
rel="noreferrer"
34-
className="text-3xl cursor-pointer hover:underline text-2023-bavarian-gold-2 whitespace-nowrap overflow-hidden text-ellipsis max-w-full"
3534
>
3635
{repo.name}
3736
</a>

0 commit comments

Comments
 (0)