Skip to content

Commit b92cbb5

Browse files
committed
refactor: adjust spacing and styling in Contributors component
1 parent d38723f commit b92cbb5

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

app/components/Contributors.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export function Contributors({
1818

1919
return (
2020
<section aria-labelledby="contributors-heading">
21-
<hr className="border-border/70" />
21+
<hr className="border-border/70 !mt-10 !mb-5" />
2222
<h2 id="contributors-heading">{"\u8d21\u732e\u8005"}</h2>
2323
<ul className="mt-0 mb-0 flex flex-wrap items-center gap-x-6 gap-y-4 list-none p-0">
2424
{contributors.map((contributor) => (
@@ -27,21 +27,21 @@ export function Contributors({
2727
href={contributor.html_url}
2828
target="_blank"
2929
rel="noopener noreferrer"
30-
className="inline-flex items-center gap-3 text-base font-medium text-primary transition-colors hover:text-primary/80"
30+
className="inline-flex items-center gap-3 text-base font-medium text-primary transition-colors hover:text-primary/80 no-underline"
3131
>
3232
<Image
3333
src={contributor.avatar_url}
3434
alt={contributor.login}
3535
width={35}
3636
height={35}
37-
className="h-10 w-10 rounded-full border border-border/50 object-cover shadow-sm"
37+
className="!m-0 h-10 w-10 rounded-full border border-border/50 object-cover shadow-sm"
3838
/>
3939
<span>{contributor.login}</span>
4040
</Link>
4141
</li>
4242
))}
4343
</ul>
44-
<hr className="mt-2 border-border/70" />
44+
<hr className="!mb-0 !mt-5 border-border/70" />
4545
</section>
4646
);
4747
}

0 commit comments

Comments
 (0)