diff --git a/src/app/(app)/entry-list.tsx b/src/app/(app)/entry-list.tsx index eeecc36..5881244 100644 --- a/src/app/(app)/entry-list.tsx +++ b/src/app/(app)/entry-list.tsx @@ -80,8 +80,15 @@ export function EntryList({ entries, catalog, today, currentWeek, loadMoreHref } > ); + /** + * Below `sm` the row is a grid: play, text and duration on top and the three actions on a line of their own, + * so the description keeps its width on a 360 px phone. From `sm` the actions wrapper disappears (`contents`) and everything is one row. + */ const entryRow = (entry: EntryView, nested = false) => ( -
{entry.description || "Sem descrição"}
@@ -94,17 +101,19 @@ export function EntryList({ entries, catalog, today, currentWeek, loadMoreHref } {entry.endDate && entry.endDate !== entry.date ? " (+1)" : ""}+ em andamento
} {/* Same width as the three buttons of a single row (edit, duplicate, remove) plus their gaps, so group totals line up. */} - + {open && group.entries.map((entry) => entryRow(entry, true))}