fix(ui): show mood tags and document titles in full

Mood tags are the person's own words and were cut to one line in the list;
they wrap now. A document title wraps to two lines with hyphenation and
carries its full text in title past that; the filename line keeps its
truncation, which already shows the full name on hover.
This commit is contained in:
Marc-André Bombeck committed 2026-10-20 15:17:38 +02:00
1 parent 3d494697f7
commit 6019ecbd4d
2 files changed
+8 -3

No files matched your search

+6 -1
View File
@@ -180,7 +180,12 @@ export function DocumentCard({
const titleBlock = (
<div className="flex min-w-0 flex-1 flex-col">
<p className="truncate text-sm font-medium">{title}</p>
<p
className="line-clamp-2 text-sm font-medium break-words hyphens-auto"
title={title}
>
{title}
</p>
<p className="text-muted-foreground truncate text-xs">
{/* v1.42 — a dated document's date opens its day, above the
whole-card button. It follows the grid's roving tab stop, so the