Skip to content

Commit

Permalink
Merge pull request #4350 from tloncorp/po/fix-profile-sheet-on-web
Browse files Browse the repository at this point in the history
web: fix profile sheet height, avatar issue
  • Loading branch information
patosullivan authored Jan 18, 2025
2 parents 9a1d359 + ae58f7f commit ef4eb83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions packages/ui/src/components/ProfileRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,7 @@ export default function ProfileRow({
backgroundColor={dark ? '$secondaryBackground' : undefined}
borderRadius={dark ? '$xl' : undefined}
>
<ContactAvatar
size="custom"
width={100}
height={100}
borderRadius={'$xl'}
contactId={contactId}
/>
<ContactAvatar size="$5xl" borderRadius={'$xl'} contactId={contactId} />
<YStack flex={1} gap="$l" justifyContent="center">
{contact?.nickname ? (
<>
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/components/ProfileSheet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export function ProfileSheet({
<ActionSheet open={open} onOpenChange={onOpenChange}>
<ActionSheet.ScrollableContent>
<ActionSheet.ContentBlock>
<ProfileBlock contactId={contactId} />
<ProfileBlock height={200} contactId={contactId} />
</ActionSheet.ContentBlock>
<ActionSheet.SimpleActionGroupList actionGroups={actions} />
</ActionSheet.ScrollableContent>
Expand Down

0 comments on commit ef4eb83

Please sign in to comment.