Skip to content

Commit 853cf78

Browse files
authored
fix company name not truncated properly in job-card (#116)
1 parent 8a43556 commit 853cf78

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

frontend/src/components/jobs/job-card.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ export default function JobCard({ job, isSelected, isSponsor }: JobCardProps) {
4141
<span className="text-sm lg:text-md font-bold line-clamp-2 leading-tight pr-2">
4242
{job.title}
4343
</span>
44-
<span className="text-xs truncate">{job.company.name}</span>
44+
<span className="text-xs line-clamp-1 leading-tight">
45+
{job.company.name}
46+
</span>
4547
</div>
4648
</div>
4749
<span className={"text-xs flex-shrink-0"}>

0 commit comments

Comments
 (0)