do not let preview grow

This commit is contained in:
Arthur Belleville 2025-07-10 22:07:43 +02:00
parent 97c50a964c
commit aba7d327cc
No known key found for this signature in database

View file

@ -116,7 +116,7 @@ export function ChannelPreview({
</div>
<div className="flex items-center justify-between">
<p className="text-sm text-gray-600 dark:text-gray-400 truncate">
<p className="text-sm text-gray-600 dark:text-gray-400 line-clamp-2 max-h-10 overflow-hidden">
{latestMessagePreview}
</p>