Account: don't grow more than needed
This commit is contained in:
parent
82e437cdda
commit
01b3223886
|
@ -159,7 +159,7 @@ const Account = ({
|
||||||
return (
|
return (
|
||||||
<div data-testid='account' className='flex-shrink-0 group block w-full' ref={overflowRef}>
|
<div data-testid='account' className='flex-shrink-0 group block w-full' ref={overflowRef}>
|
||||||
<HStack alignItems={actionAlignment} justifyContent='between'>
|
<HStack alignItems={actionAlignment} justifyContent='between'>
|
||||||
<HStack alignItems='center' space={3} grow>
|
<HStack alignItems='center' space={3}>
|
||||||
<ProfilePopper
|
<ProfilePopper
|
||||||
condition={showProfileHoverCard}
|
condition={showProfileHoverCard}
|
||||||
wrapper={(children) => <HoverRefWrapper className='relative' accountId={account.id} inline>{children}</HoverRefWrapper>}
|
wrapper={(children) => <HoverRefWrapper className='relative' accountId={account.id} inline>{children}</HoverRefWrapper>}
|
||||||
|
|
|
@ -474,7 +474,6 @@ class Status extends ImmutablePureComponent<IStatus, IStatusState> {
|
||||||
{reblogElementMobile}
|
{reblogElementMobile}
|
||||||
|
|
||||||
<div className='mb-4'>
|
<div className='mb-4'>
|
||||||
<HStack justifyContent='between' alignItems='start'>
|
|
||||||
<AccountContainer
|
<AccountContainer
|
||||||
key={String(status.getIn(['account', 'id']))}
|
key={String(status.getIn(['account', 'id']))}
|
||||||
id={String(status.getIn(['account', 'id']))}
|
id={String(status.getIn(['account', 'id']))}
|
||||||
|
@ -485,7 +484,6 @@ class Status extends ImmutablePureComponent<IStatus, IStatusState> {
|
||||||
showEdit={!!status.edited_at}
|
showEdit={!!status.edited_at}
|
||||||
showProfileHoverCard={this.props.hoverable}
|
showProfileHoverCard={this.props.hoverable}
|
||||||
/>
|
/>
|
||||||
</HStack>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className='status__content-wrapper'>
|
<div className='status__content-wrapper'>
|
||||||
|
|
Loading…
Reference in New Issue