Skip to content

Commit

Permalink
BUG FIX: Logo link too wide
Browse files Browse the repository at this point in the history
  • Loading branch information
mbeps committed Sep 16, 2024
1 parent e471516 commit d58f526
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions components/MaterialItems/CourseItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ const CourseItem: React.FC<CourseItemProps> = ({ courseKey }) => {
>
{/* Certificate Image */}
{courseData.logo && (
<Link href={`${basePath}/${courseKey}`}>
<div
className="
flex justify-center
mb-6
w-full
"
>
<div
className="
flex justify-center
mb-6
w-full
"
>
<Link href={`${basePath}/${courseKey}`}>
<Image
key={courseKey}
src={courseData.logo}
Expand All @@ -61,8 +61,8 @@ const CourseItem: React.FC<CourseItemProps> = ({ courseKey }) => {
transition-all duration-500 ease-in-out
"
/>
</div>
</Link>
</Link>
</div>
)}

<div
Expand Down

0 comments on commit d58f526

Please sign in to comment.