Account: let avatar and display name be truncated

This commit is contained in:
Alex Gleason 2023-02-06 16:09:59 -06:00
parent a433d22ba3
commit f6f3973eac
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -195,7 +195,7 @@ const Account = ({
return (
<div data-testid='account' className='group block w-full shrink-0' ref={overflowRef}>
<HStack alignItems={actionAlignment} justifyContent='between'>
<HStack alignItems={withAccountNote || note ? 'top' : 'center'} space={3}>
<HStack alignItems={withAccountNote || note ? 'top' : 'center'} space={3} className='overflow-hidden'>
<ProfilePopper
condition={showProfileHoverCard}
wrapper={(children) => <HoverRefWrapper className='relative' accountId={account.id} inline>{children}</HoverRefWrapper>}
@ -215,7 +215,7 @@ const Account = ({
</LinkEl>
</ProfilePopper>
<div className='grow'>
<div className='grow overflow-hidden'>
<ProfilePopper
condition={showProfileHoverCard}
wrapper={(children) => <HoverRefWrapper accountId={account.id} inline>{children}</HoverRefWrapper>}