sforkowany z mirror/soapbox
Fix: Long handles don't get truncated in Follow Requests menu
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>develop^2
rodzic
ef10e2a699
commit
ea6be269bb
|
@ -35,27 +35,29 @@ const AccountAuthorize: React.FC<IAccountAuthorize> = ({ id }) => {
|
||||||
if (!account) return null;
|
if (!account) return null;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<HStack space={1} alignItems='center' justifyContent='between' className='p-2.5'>
|
<div className='p-2.5'>
|
||||||
<div className='w-full'>
|
<Account
|
||||||
<Account account={account} withRelationship={false} />
|
account={account}
|
||||||
</div>
|
action={
|
||||||
<HStack space={2}>
|
<HStack className='ml-1' space={2}>
|
||||||
<Button
|
<Button
|
||||||
theme='secondary'
|
theme='secondary'
|
||||||
size='sm'
|
size='sm'
|
||||||
text={intl.formatMessage(messages.authorize)}
|
text={intl.formatMessage(messages.authorize)}
|
||||||
icon={require('@tabler/icons/check.svg')}
|
icon={require('@tabler/icons/check.svg')}
|
||||||
onClick={onAuthorize}
|
onClick={onAuthorize}
|
||||||
/>
|
/>
|
||||||
<Button
|
<Button
|
||||||
theme='danger'
|
theme='danger'
|
||||||
size='sm'
|
size='sm'
|
||||||
text={intl.formatMessage(messages.reject)}
|
text={intl.formatMessage(messages.reject)}
|
||||||
icon={require('@tabler/icons/x.svg')}
|
icon={require('@tabler/icons/x.svg')}
|
||||||
onClick={onReject}
|
onClick={onReject}
|
||||||
/>
|
/>
|
||||||
</HStack>
|
</HStack>
|
||||||
</HStack>
|
}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue