Skip to content

Commit

Permalink
fix(bottle): make avatar image object-fit cover
Browse files Browse the repository at this point in the history
  • Loading branch information
stakbucks committed Oct 3, 2024
1 parent 37793b4 commit 34c1b37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions apps/bottle/src/components/common/avatar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export function Avatar({ size: _size, blur, ...props }: AvatarProps) {
alt="user profile image"
width={size}
height={size}
objectFit="cover"
className={avatarStyle({ blur })}
/>
) : (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const layoutStyle = recipe({
},
variants: {
hasCTAButton: {
true: { height: `calc(100vh - ${CONTAINER_OFFSET_HEIGHT - OVERLAP_HEIGHT}px)` },
true: { height: `calc(100vh - ${CONTAINER_OFFSET_HEIGHT - OVERLAP_HEIGHT}px + env(safe-area-inset-top))` },
false: { height: '100vh' },
},
},
Expand Down

0 comments on commit 34c1b37

Please sign in to comment.