Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions apps/web/src/components/dashboard/forms-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -181,17 +181,19 @@ export function FormsTable({
sortValue: (f) => f.title.toLowerCase(),
className: "min-w-[14rem]",
cell: (f) => (
<div className="grid">
// A long title wraps instead of widening the column; on a phone it
// would otherwise run under the sticky action column, cut off.
<div className="grid max-w-[14rem] sm:max-w-[24rem]">
{f.manages ? (
<Link
href={`/dashboard/${guildId}/forms/${f.id}/edit` as Route}
prefetch={false}
className="inline-flex min-h-9 w-fit items-center font-semibold text-foreground hover:text-primary hover:underline"
className="inline-flex min-h-9 w-fit max-w-full items-center font-semibold [overflow-wrap:anywhere] text-foreground hover:text-primary hover:underline"
>
{f.title}
</Link>
) : (
<span className="font-semibold">{f.title}</span>
<span className="font-semibold [overflow-wrap:anywhere]">{f.title}</span>
)}
{f.url ? (
<a
Expand Down
Loading