Skip to content

Commit 48bb67b

Browse files
committed
refactor(html structure): restructure html to match previous implementation
1 parent 3d0e417 commit 48bb67b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/components/Contributors.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,19 +33,19 @@ const Contributors = () => {
3333
<Flex className="flex-wrap">
3434
{contributorsList.map((contributor) => (
3535
<Flex
36-
className="m-2 max-w-[132px] transform flex-col shadow-table transition-transform duration-100 hover:scale-[1.02] hover:rounded hover:bg-background-table-hover hover:no-underline hover:shadow-table-box-hover focus:scale-[1.02] focus:rounded focus:no-underline focus:shadow-table-box-hover"
36+
className="relative z-10 m-2 max-w-[132px] transform flex-col shadow-table transition-transform duration-100 hover:scale-[1.02] hover:rounded hover:bg-background-table-hover hover:no-underline hover:shadow-table-box-hover focus:scale-[1.02] focus:rounded focus:no-underline focus:shadow-table-box-hover"
3737
key={contributor.login}
3838
>
39+
<img
40+
className="h-[132px] w-[132px]"
41+
src={contributor.avatar_url}
42+
alt={contributor.name}
43+
/>
3944
<InlineLink
40-
className="block flex-grow text-body no-underline hover:no-underline"
45+
className="static flex-grow text-body no-underline before:absolute before:left-0 before:top-0 before:z-0 before:block before:h-full before:w-full before:cursor-pointer before:content-[''] hover:no-underline"
4146
href={contributor.profile}
4247
hideArrow
4348
>
44-
<img
45-
className="h-[132px] w-[132px]"
46-
src={contributor.avatar_url}
47-
alt={contributor.name}
48-
/>
4949
<div className="p-4">
5050
<h3 className="mb-4 mt-2 text-md">{contributor.name}</h3>
5151
</div>

0 commit comments

Comments
 (0)