Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Brian/forceheightlandingpagejobs #482

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 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,11 +30,11 @@ 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>
<h3 className="text-xl font-bold mx-4 mb-4">{title}</h3>
<h3 className="text-xl font-bold mx-4 mb-4 line-clamp-3">{title}</h3>
<div className="h-[100px] flex flex-row flex-wrap m-0 justify-center items-center mx-2 my-2 xs:flex-col">
{workingRights.map((tag) => (
<div
Expand Down
Loading