From a7ed770287db6e6ed1ab02130c58869a6b483b8c Mon Sep 17 00:00:00 2001 From: Musiker15 Date: Thu, 29 Oct 2026 06:58:45 +0100 Subject: [PATCH] Wrap long form titles in the forms list The title link was inline-flex with w-fit, so a long title made the column as wide as the whole text. On a phone the end of it ran under the sticky action column and was cut off without any hint. The title now wraps at the column's minimum width on small screens and at 24rem from sm up, with overflow-wrap:anywhere for long words, so the whole title stays readable instead of being truncated. --- apps/web/src/components/dashboard/forms-table.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/apps/web/src/components/dashboard/forms-table.tsx b/apps/web/src/components/dashboard/forms-table.tsx index c3e3caf..20805a9 100644 --- a/apps/web/src/components/dashboard/forms-table.tsx +++ b/apps/web/src/components/dashboard/forms-table.tsx @@ -181,17 +181,19 @@ export function FormsTable({ sortValue: (f) => f.title.toLowerCase(), className: "min-w-[14rem]", cell: (f) => ( -
+ // A long title wraps instead of widening the column; on a phone it + // would otherwise run under the sticky action column, cut off. +
{f.manages ? ( {f.title} ) : ( - {f.title} + {f.title} )} {f.url ? (