Skip to content

Commit a74927d

Browse files
Merge pull request #189 from nabarvn/fix/issue-177
style: align the contributor card layout
2 parents 00850b8 + 8f008c6 commit a74927d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
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"

components/Hero.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function Hero() {
4646
/>
4747
<button
4848
type="submit"
49-
className="btn btn-square rounded-tl-none rounded-bl-none bg-transparent border-2023-manga-3 hover:bg-2023-manga-2 hover:text-2023-void-2 hover:border-2023-manga-2"
49+
className="group btn btn-square rounded-tl-none rounded-bl-none bg-transparent border-2023-manga-3 hover:bg-2023-manga-2 hover:text-2023-void-2 hover:border-2023-manga-2"
5050
>
5151
<SearchIcon />
5252
</button>
@@ -92,7 +92,7 @@ function Hero() {
9292

9393
const SearchIcon = () => (
9494
<svg
95-
className="w-6 h-6"
95+
className="w-6 h-6 group-hover:stroke-2023-bavarian-gold-3"
9696
fill="none"
9797
stroke="white"
9898
viewBox="0 0 24 24"

0 commit comments

Comments
 (0)