@@ -61,11 +61,11 @@ function Card({ repo }: Props) {
61
61
</ div >
62
62
63
63
{ /* stars and forks cards */ }
64
- < div className = "w-full grid grid-cols-[repeat(auto-fit,_minmax(120px,_1fr))] gap-3 xl:gap-5 text-neutral-100 cursor-pointer mt-8" >
64
+ < div className = "flex flex-wrap gap-3 xl:gap-5 text-neutral-100 cursor-pointer mt-8" >
65
65
< a
66
66
href = { `${ repo . html_url } /stargazers` }
67
67
target = "_blank"
68
- className = "group w-full border rounded-xl p-3 xl:px-4 flex items-center gap-2 xl:gap-3 relative"
68
+ className = "group w-full flex-shrink-0 flex-grow-1 mx-auto basis-[120px] border rounded-xl p-3 xl:px-4 flex items-center gap-2 xl:gap-3 relative"
69
69
>
70
70
< GoStar className = "text-yellow-200 text-2xl" />
71
71
< div className = "flex flex-col" >
@@ -76,15 +76,15 @@ function Card({ repo }: Props) {
76
76
</ div >
77
77
< div
78
78
id = "tooltip"
79
- className = "hidden group-hover:block absolute bg-2023-void-2 text-2023-bavarian-gold-2 px-2 py-1 rounded-md"
79
+ className = "hidden group-hover:block text-sm absolute bg-2023-void-2 text-2023-bavarian-gold-2 px-2 py-1 rounded-md"
80
80
>
81
81
Checkout all the stars here!
82
82
</ div >
83
83
</ a >
84
84
< a
85
85
href = { `${ repo . html_url } /forks` }
86
86
target = "_blank"
87
- className = "group w-full border rounded-xl p-3 flex items-center gap-3 relative"
87
+ className = "group flex-shrink-0 flex-grow-1 mx-auto basis-[120px] border rounded-xl p-3 flex items-center gap-3 relative"
88
88
>
89
89
< GoRepoForked className = "text-yellow-200 text-2xl" />
90
90
< div className = "flex flex-col" >
@@ -95,15 +95,15 @@ function Card({ repo }: Props) {
95
95
</ div >
96
96
< div
97
97
id = "tooltip"
98
- className = "hidden group-hover:block absolute bg-2023-void-2 text-2023-bavarian-gold-2 px-2 py-1 rounded-md"
98
+ className = "hidden group-hover:block absolute text-sm bg-2023-void-2 text-2023-bavarian-gold-2 px-2 py-1 rounded-md"
99
99
>
100
100
Checkout all the forks here!
101
101
</ div >
102
102
</ a >
103
103
< a
104
104
href = { `${ repo . html_url } /issues` }
105
105
target = "_blank"
106
- className = "group w-full border rounded-xl p-3 flex items-center gap-3 relative"
106
+ className = "group flex-shrink-0 flex-grow-1 mx-auto basis-[120px] border rounded-xl p-3 flex items-center gap-3 relative"
107
107
>
108
108
< GoIssueOpened className = "text-yellow-200 text-2xl" />
109
109
< div className = "flex flex-col" >
0 commit comments