Skip to content

Commit

Permalink
Truncate long GitHub project title
Browse files Browse the repository at this point in the history
  • Loading branch information
arifszn committed Feb 28, 2024
1 parent 22ddd08 commit be0e616
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/github-project-card/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ const GithubProjectCard = ({
<div className="flex justify-between flex-col p-8 h-full w-full">
<div>
<div className="flex items-center">
<div className="card-title text-lg tracking-wide flex text-base-content opacity-60">
<div className="card-title text-lg tracking-wide flex text-base-content opacity-60 truncate">
<MdInsertLink className="my-auto" />
<span>{item.name}</span>
<span className="truncate">{item.name}</span>
</div>
</div>
<p className="mb-5 mt-1 text-base-content text-opacity-60 text-sm">
Expand Down

0 comments on commit be0e616

Please sign in to comment.