Skip to content

Commit

Permalink
Handle GitHub project title truncating better
Browse files Browse the repository at this point in the history
  • Loading branch information
arifszn committed Feb 28, 2024
1 parent 0b7eed4 commit 1478b37
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/github-project-card/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@ 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 truncate">
<div className="flex items-center truncate">
<div className="card-title text-lg tracking-wide flex text-base-content opacity-60">
<MdInsertLink className="my-auto" />
<span className="truncate">{item.name}</span>
<span>{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 1478b37

Please sign in to comment.