Skip to content

Commit

Permalink
refactor: object-fit 적용
Browse files Browse the repository at this point in the history
next app router λΆ€ν„° objectFit prop λŒ€μ‹  fill μ‚¬μš©μ„ ꢌμž₯(κ°•μ œ) ν•˜λ‚˜, λΆ€λͺ¨μš”μ†Œμ— position 속성 λ°˜λ“œμ‹œ ν•„μš” λ“±, ν˜„μž¬ κ΅¬μ‘°μ—μ„œ μ—¬λŸ¬ 변동사항이 생겨 emotion css둜 object-fit 지정
  • Loading branch information
semnil5202 committed Aug 20, 2024
1 parent 7df4ee8 commit ddc0766
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,12 @@ export const GatherMemberProfile = ({ member }: GatherMemberProfileProps) => {
}}
>
<div css={{ alignItems: 'center', display: 'flex' }}>
<Avatar imageUrl={profileImageFileUrl} width={40} height={40} css={{ borderRadius: '50%' }} />
<Avatar
imageUrl={profileImageFileUrl}
width={40}
height={40}
css={{ borderRadius: '50%', objectFit: 'cover' }}
/>
<Txt typography="title2" css={{ marginLeft: '12px' }}>
{name}
</Txt>
Expand Down

0 comments on commit ddc0766

Please sign in to comment.