title slice length
This commit is contained in:
parent
5ebe9bd55f
commit
6d199eb924
@ -49,7 +49,7 @@ export default async function JobCard(props: { job: JobPosting }) {
|
||||
/>
|
||||
<div className="flex flex-col justify-start">
|
||||
<h2 className="text-xl sm:text-2xl text-left block sm:hidden">
|
||||
{title.length > 40 ? title.slice(0, 40) + "..." : title}
|
||||
{title.length > 50 ? title.slice(0, 50) + "..." : title}
|
||||
</h2>
|
||||
<h2 className="text-2xl sm:text-2xl text-left sm:block hidden">
|
||||
{title}
|
||||
|
Loading…
Reference in New Issue
Block a user