Merge branch 'fix-focus' into 'next'

Fix bugs with Account component

See merge request soapbox-pub/soapbox-fe!1235
revert-5af0e40a
Justin 2022-04-18 16:53:54 +00:00
commit 557d9780b1
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -129,7 +129,7 @@ const Account = ({
const LinkEl: any = showProfileHoverCard ? Link : 'div';
return (
<div data-testid='account' className='flex-shrink-0 group block w-full overflow-hidden' ref={overflowRef}>
<div data-testid='account' className='flex-shrink-0 group block w-full' ref={overflowRef}>
<HStack alignItems={actionAlignment} justifyContent='between'>
<HStack alignItems='center' space={3} grow>
<ProfilePopper
@ -177,10 +177,10 @@ const Account = ({
{timestampUrl ? (
<Link to={timestampUrl} className='hover:underline'>
<RelativeTimestamp timestamp={timestamp} theme='muted' size='sm' />
<RelativeTimestamp timestamp={timestamp} theme='muted' size='sm' className='whitespace-nowrap' />
</Link>
) : (
<RelativeTimestamp timestamp={timestamp} theme='muted' size='sm' />
<RelativeTimestamp timestamp={timestamp} theme='muted' size='sm' className='whitespace-nowrap' />
)}
</>
) : null}