Skip to content

Commit

Permalink
fix (Projects): truncate description on index page
Browse files Browse the repository at this point in the history
  • Loading branch information
ildarkayumov committed Feb 5, 2025
1 parent d98b60e commit 1e41268
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/projects/_project.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</td>
<td class="p-4 border-b border-blue-gray-50">
<p class="block font-sans text-sm antialiased font-normal leading-normal text-blue-gray-900">
<%= project.description %>
<%= project.description.truncate(140) %>
</p>
</td>
<td class="p-4 border-b border-blue-gray-50">
Expand Down

0 comments on commit 1e41268

Please sign in to comment.