Skip to content

Commit ac87ff6

Browse files
authored
Merge pull request #42 from Octasol/hotfix/bounty
Hotfix/bounty
2 parents 4f854eb + 59aee5c commit ac87ff6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/app/(pages)/bounty/[id]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ const BountyDetails = () => {
470470

471471
<div className="w-full flex flex-col gap-4">
472472
<p className=" underline underline-offset-4 ">SKILLS</p>
473-
<div className="w-full flex flex-wrap gap-5">
473+
<div className="w-full flex flex-wrap gap-2">
474474
{bounty?.skills.map((skill) => (
475475
<div key={skill}>
476476
<LoginButton>{skill}</LoginButton>

src/app/(pages)/bounty/page.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ const Bounty = () => {
112112
{bounties.map((bounty, index) => (
113113
<Card
114114
key={index}
115-
className="hover:shadow-sm transition-shadow duration-500 cursor-pointer bg-black hover:shadow-[#43aa8a]"
115+
className="hover:shadow-sm transition-shadow duration-500 cursor-pointer bg-black hover:shadow-[#43aa8a] flex flex-col h-full"
116116
onClick={() => bountyDetails(bounty.id)}
117117
>
118118
<CardHeader className="space-y-4">
@@ -134,15 +134,15 @@ const Bounty = () => {
134134
</p>
135135
</div>
136136
</div>
137-
<div className="flex items-center ">
137+
<div className="flex items-center">
138138
<DollarSign className="h-4 w-4 text-green-500" />
139139
<span className="font-bold">{bounty.price}</span>
140140
</div>
141141
</div>
142142
<h2 className="text-xl font-bold">{bounty?.bountyname}</h2>
143143
</CardHeader>
144144

145-
<CardContent className="space-y-4">
145+
<CardContent className="space-y-4 flex-grow">
146146
<div className="flex flex-wrap gap-2">
147147
{bounty.skills.map((skill, skillIndex) => (
148148
<Badge key={skillIndex} className="bg-gray-800">
@@ -152,7 +152,7 @@ const Bounty = () => {
152152
</div>
153153
</CardContent>
154154

155-
<CardFooter className="flex items-center justify-between pt-4 border-t">
155+
<CardFooter className="flex items-center justify-between pt-4 border-t border-gray-700">
156156
<div className="flex items-center space-x-2 text-sm text-muted-foreground">
157157
<Calendar className="h-4 w-4" />
158158
<span>

0 commit comments

Comments
 (0)