mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-14 22:50:51 +00:00
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:
1 parent
3d494697f7
commit
6019ecbd4d
2 files changed
+8
-3
No files matched your search
@@ -846,7 +846,7 @@ export function MoodList({ onAddFirst, onEmptyChange }: MoodListProps = {}) {
|
||||
</span>
|
||||
</TableCell>
|
||||
<TableCell className="text-muted-foreground max-w-[18rem] text-sm">
|
||||
<span className="block truncate">
|
||||
<span className="block break-words">
|
||||
{entry.tags.length > 0
|
||||
? entry.tags.join(", ")
|
||||
: "-"}
|
||||
@@ -960,7 +960,7 @@ export function MoodList({ onAddFirst, onEmptyChange }: MoodListProps = {}) {
|
||||
</DayLink>
|
||||
</p>
|
||||
{entry.tags.length > 0 && (
|
||||
<p className="text-muted-foreground truncate text-xs">
|
||||
<p className="text-muted-foreground text-xs break-words">
|
||||
{entry.tags.join(", ")}
|
||||
</p>
|
||||
)}
|
||||
|
||||
Reference in new issue
Block a user