Skip to content

The Open Source DocuSign Alternative.

fix: template description overflow (#2605)

Joshua Sharp4751c9ceccff
diff --git a/apps/remix/app/components/tables/settings-public-profile-templates-table.tsx b/apps/remix/app/components/tables/settings-public-profile-templates-table.tsx
index 499753133..45c11ba51 100644
--- a/apps/remix/app/components/tables/settings-public-profile-templates-table.tsx
+++ b/apps/remix/app/components/tables/settings-public-profile-templates-table.tsx
@@ -142,8 +142,8 @@ export const SettingsPublicProfileTemplatesTable = () => {
/>
<div>
- <p className="text-sm">{template.publicTitle}</p>
- <p className="text-xs text-neutral-400">{template.publicDescription}</p>
+ <p className="text-sm break-all">{template.publicTitle}</p>
+ <p className="text-xs text-neutral-400 break-all">{template.publicDescription}</p>
</div>
</div>
diff --git a/apps/remix/app/routes/_profile+/p.$url.tsx b/apps/remix/app/routes/_profile+/p.$url.tsx
index d244ad478..25c7ed5f5 100644
--- a/apps/remix/app/routes/_profile+/p.$url.tsx
+++ b/apps/remix/app/routes/_profile+/p.$url.tsx
@@ -176,10 +176,10 @@ export default function PublicProfilePage({ loaderData }: Route.ComponentProps)
<div className="flex flex-1 flex-col gap-4 overflow-hidden md:flex-row md:items-start md:justify-between">
<div>
- <p className="text-foreground text-sm font-semibold leading-none">
+ <p className="text-foreground text-sm font-semibold leading-none break-all">
{template.publicTitle}
</p>
- <p className="text-muted-foreground mt-1 line-clamp-3 max-w-[70ch] whitespace-normal text-xs">
+ <p className="text-muted-foreground mt-1 line-clamp-3 max-w-[70ch] whitespace-normal text-xs break-all">
{template.publicDescription}
</p>
</div>