fix: add word-break to note title and content in notes list

Long unbroken strings in note titles and content overflow the card
boundaries in the Notes column. Add break-all so text wraps properly.
This commit is contained in:
Luis Novo 2026-02-16 14:54:25 -03:00
parent c596ed2233
commit e38c64c70c

View file

@ -179,11 +179,11 @@ export function NotesColumn({
</div>
{note.title && (
<h4 className="text-sm font-medium mb-2">{note.title}</h4>
<h4 className="text-sm font-medium mb-2 break-all">{note.title}</h4>
)}
{note.content && (
<p className="text-sm text-muted-foreground line-clamp-3">
<p className="text-sm text-muted-foreground line-clamp-3 break-all">
{note.content}
</p>
)}