Skip to content

Commit 3bb3686

Browse files
committed
fix author name wrap
1 parent a346efd commit 3bb3686

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

apps/web/src/app/[orgShortcode]/convo/_components/convo-list-item.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ import { useIsMobile } from '@/src/hooks/use-is-mobile';
1919
import { Trash } from '@phosphor-icons/react/dist/ssr';
2020
import { useTimeAgo } from '@/src/hooks/use-time-ago';
2121
import { useLongPress } from '@uidotdev/usehooks';
22-
import { Avatar } from '@/src/components/avatar';
2322
import { type TypeId } from '@u22n/utils/typeid';
2423
import { usePathname } from 'next/navigation';
2524
import { convoListSelecting } from '../atoms';
@@ -172,10 +171,10 @@ export const ConvoItem = memo(function ConvoItem({
172171
</span>
173172

174173
<div className="flex flex-row items-start justify-start gap-1 text-left text-sm">
175-
<span className="ph-no-capture font-semibold">
176-
{authorAvatarData?.name + ':' ?? ''}
177-
</span>
178174
<span className="ph-no-capture line-clamp-2 overflow-clip break-words">
175+
<span className="font-semibold">
176+
{authorAvatarData?.name + ':' ?? ''}
177+
</span>
179178
{convo.entries[0]?.bodyPlainText.trim() ?? ''}
180179
</span>
181180
</div>

0 commit comments

Comments
 (0)