Skip to content

Commit

Permalink
fix: 소식 페이지 헤더 팔로잉 목록 이동 버튼 프로필 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hjy0951 committed Aug 28, 2024
1 parent 64cab28 commit bc86270
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions features/news/components/atoms/following-list-link-button.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import Link from 'next/link';
import { ReactNode } from 'react';

import { DefaultProfileIcon, Image, PersonsIcon } from '@/components/atoms';
import { DefaultProfileIcon, PersonsIcon } from '@/components/atoms';
import { ProfileImage } from '@/components/molecules';
import { css, cx } from '@/styled-system/css';
import { flex } from '@/styled-system/patterns';

Expand Down Expand Up @@ -30,11 +31,14 @@ export const FollowingListLinkButton = () => {
)}
>
{profileImageUrl ? (
<Image
<ProfileImage
src={profileImageUrl}
alt="following profiles"
width={24}
height={24}
width={28}
height={28}
style={{
objectFit: 'cover',
}}
/>
) : (
<DefaultProfileIcon width={24} height={24} />
Expand Down Expand Up @@ -81,7 +85,11 @@ const borderStyles = css({
const baseProfileStyle = flex({
position: 'absolute',
top: '2px',
width: '28px',
height: '28px',
backgroundColor: 'white',
align: 'stretch',
rounded: 'full',
overflow: 'hidden',
});

Expand Down

0 comments on commit bc86270

Please sign in to comment.