fix: template description overflow (#2605)

This commit is contained in:
Joshua Sharp 2026-03-12 18:15:21 +11:00 committed by GitHub
parent a5fd814fbc
commit 4751c9cecc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View file

@ -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>

View file

@ -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>