Correctly align bet avatars and text in feed

This commit is contained in:
Marshall Polaris 2022-08-03 02:46:37 -07:00
parent 0386fc702b
commit 350e72d4e3

View File

@ -36,7 +36,7 @@ export function FeedBet(props: {
const isSelf = user?.id === userId const isSelf = user?.id === userId
return ( return (
<Row className={'flex w-full gap-2 pt-3'}> <Row className={'flex w-full items-center gap-2 pt-3'}>
{isSelf ? ( {isSelf ? (
<Avatar <Avatar
className={clsx(smallAvatar && 'ml-1')} className={clsx(smallAvatar && 'ml-1')}
@ -60,7 +60,7 @@ export function FeedBet(props: {
isSelf={isSelf} isSelf={isSelf}
bettor={bettor} bettor={bettor}
hideOutcome={hideOutcome} hideOutcome={hideOutcome}
className="min-w-0 flex-1 py-1.5" className="flex-1"
/> />
</Row> </Row>
) )