Merge branch 'follow-requests-styles' into 'develop'

Fix: Long handles don't get truncated in Follow Requests menu

Closes #1389

See merge request soapbox-pub/soapbox!2340
This commit is contained in:
marcin mikołajczak 2023-03-13 11:10:27 +00:00
commit 5148d913a7

View file

@ -35,11 +35,11 @@ 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'
@ -55,7 +55,9 @@ const AccountAuthorize: React.FC<IAccountAuthorize> = ({ id }) => {
onClick={onReject} onClick={onReject}
/> />
</HStack> </HStack>
</HStack> }
/>
</div>
); );
}; };