Browse Source

feat: 💨

imwald
codytseng 9 months ago
parent
commit
29692bc9aa
  1. 10
      src/components/ProfileCard/index.tsx

10
src/components/ProfileCard/index.tsx

@ -19,12 +19,10 @@ export default function ProfileCard({ pubkey }: { pubkey: string }) {
<Nip05 pubkey={pubkey} /> <Nip05 pubkey={pubkey} />
</div> </div>
{about && ( {about && (
<div <ProfileAbout
className="text-sm text-wrap break-words w-full overflow-hidden text-ellipsis" about={about}
style={{ display: '-webkit-box', WebkitLineClamp: 6, WebkitBoxOrient: 'vertical' }} className="text-sm text-wrap break-words w-full overflow-hidden text-ellipsis line-clamp-6"
> />
<ProfileAbout about={about} />
</div>
)} )}
</div> </div>
) )

Loading…
Cancel
Save