Skip to content

Commit

Permalink
Truncate title and description (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
AmirAgassi authored Dec 12, 2024
2 parents dcab191 + 12e5c69 commit 868d351
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/tables/ProjectsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ const columns = [
header: 'Project name',
cell: info => (
<div>
<div className="font-medium">{info.getValue()}</div>
<div className="font-medium truncate max-w-xs">{info.getValue()}</div>
{info.row.original.description && (
<div className="text-sm text-gray-500">{info.row.original.description}</div>
<div className="text-sm text-gray-500 truncate max-w-xs">{info.row.original.description}</div>
)}
</div>
),
Expand Down

0 comments on commit 868d351

Please sign in to comment.