Skip to content

Commit 668ba5d

Browse files
committed
fix: add a text wrapper to the course name
1 parent b7ceb97 commit 668ba5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/cards/Bounty.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export default function BountyCard({ bounty }: BountyProps): ReactElement {
6161
<div className="flex md:flex-row-reverse">
6262
<div className="bg-theme-accent flex-col w-full h-full justify-between md:-space-y-1 pl-3 pr-5 mt-7 mb-5">
6363
<Component className="relative w-full block" href={link}>
64-
<div className="font-medium text-md md:pt-1.5">{bounty.course ? bounty.course.name : bounty.name}</div>
64+
<div className="font-medium text-md md:pt-1.5 md:w-3/4">{bounty.course ? bounty.course.name : bounty.name}</div>
6565
</Component>
6666
<Component className="inline-flex md:flex h-2/3 md:flex-row flex-col-reverse justify-between" href={link}>
6767
<div className="text-sm pt-8- md:pt-2 md:pb-4 text-gray-600">{type()}</div>

0 commit comments

Comments
 (0)