Fix bugs with Account component

merge-requests/1235/head
Justin 2022-04-18 12:15:15 -04:00
rodzic dd54afeb2a
commit 582767e673
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}