Skip to content

Commit 8f008c6

Browse files
author
Nabarun
committed
style: align the contributor card layout
1 parent d3b7ac2 commit 8f008c6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/ContributorCard.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export default function ContributorCard({ contributor }: Props) {
3131
target="_blank"
3232
rel="noreferrer"
3333
>
34-
<figure className="px-10 pt-10">
34+
<figure className="px-10 pt-10 h-[351px] md:h-[336px] lg:h-[204px] xl:h-[268px]">
3535
<img src={url} alt={contributor.name} className="rounded-xl" />
3636
</figure>
3737
</a>
@@ -43,9 +43,9 @@ export default function ContributorCard({ contributor }: Props) {
4343
>
4444
{contributor.profile}
4545
</a>
46-
<div className="justify-center card-actions">
46+
<div className="justify-center card-actions mt-auto">
4747
<a
48-
className="text-white btn border-[#dbe8d9] hover:border-[#dbe8d9] btn-outline border-2 hover:bg-[#dbe8d9]"
48+
className="text-white btn border-[#dbe8d9] hover:border-[#dbe8d9] btn-outline border-2 hover:bg-[#dbe8d9] hover:text-slate-900"
4949
href={`https://github.com/${contributor.login}`}
5050
target="_blank"
5151
rel="noreferrer"

0 commit comments

Comments
 (0)