Skip to content

Commit

Permalink
fix author name wrap
Browse files Browse the repository at this point in the history
  • Loading branch information
McPizza0 committed Aug 28, 2024
1 parent a346efd commit 3bb3686
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import { useIsMobile } from '@/src/hooks/use-is-mobile';
import { Trash } from '@phosphor-icons/react/dist/ssr';
import { useTimeAgo } from '@/src/hooks/use-time-ago';
import { useLongPress } from '@uidotdev/usehooks';
import { Avatar } from '@/src/components/avatar';
import { type TypeId } from '@u22n/utils/typeid';
import { usePathname } from 'next/navigation';
import { convoListSelecting } from '../atoms';
Expand Down Expand Up @@ -172,10 +171,10 @@ export const ConvoItem = memo(function ConvoItem({
</span>

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

0 comments on commit 3bb3686

Please sign in to comment.