Skip to content

Commit

Permalink
Text-aligned featured jobs and made equal height (#481)
Browse files Browse the repository at this point in the history
Co-authored-by: Brian Nhan <[email protected]>
  • Loading branch information
brnhan and Brian Nhan authored Jul 28, 2024
1 parent 8faeb0c commit e8d02f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/components/FeaturedJobCard/FeaturedJobCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const FeaturedJobCard = ({ title, description, workingRights, imgSrc }: Featured
<Link href="/student/login">
<div className="flex mx-4 mt-8 mb-12 flex-col justify-between shadow-card rounded-lg bg-white relative hover-anim">
<div>
<div className="flex justify-center min-w-0 mx-5">
<div className="flex justify-center min-w-0 h-52 mx-5">
{imgSrc ? (
<Image
src={imgSrc}
Expand All @@ -30,7 +30,7 @@ const FeaturedJobCard = ({ title, description, workingRights, imgSrc }: Featured
) : (
<FontAwesomeIcon
icon={faBuilding}
className="select-none pointer-events-none object-contain w-full py-4 min-h-[180px]"
className="select-none pointer-events-none object-contain w-full py-4 min-h-[165px]"
/>
)}
</div>
Expand Down

0 comments on commit e8d02f0

Please sign in to comment.