Update FamilyList.tsx

This commit is contained in:
2025-12-11 23:18:40 +01:00
committed by GitHub
parent f7dfe8f440
commit bd65ff2443

View File

@@ -259,7 +259,7 @@ export const FamilyList: React.FC = () => {
<span className="text-xs text-slate-400 whitespace-nowrap">{new Date(notice.date).toLocaleDateString()}</span>
</div>
<div className={`text-sm leading-relaxed whitespace-pre-wrap transition-all ${isRead ? 'text-slate-500' : 'text-slate-700'} ${isExpanded ? '' : 'line-clamp-2'}`}>
<div className={`text-sm leading-relaxed whitespace-pre-wrap break-words transition-all ${isRead ? 'text-slate-500' : 'text-slate-700'} ${isExpanded ? '' : 'line-clamp-2'}`}>
{notice.content}
</div>