Skip to content

Commit

Permalink
refactor: 프로필 페이지 모바일 UI 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
chaeseungyun committed Oct 22, 2023
1 parent 25061ff commit 2376176
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/pages/Follow/components/FollowProfile.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

&__container {
display: flex;
width: 100%;
width: 90%;
justify-content: space-between;
align-items: center;
}
Expand Down
3 changes: 2 additions & 1 deletion src/pages/Follow/components/Follower.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ export default function Follower({
거절
</button>
)}
{value && <MobileUnfollow nickname={nickname} del={del} toggle={toggle} account={account} />}
{value && isMobile
&& <MobileUnfollow nickname={nickname} del={del} toggle={toggle} account={account} />}
</div>
);
}
5 changes: 3 additions & 2 deletions src/pages/Follow/components/MobileUnfollow.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@
}

&__image {
width: 30vw;
height: 25vh;
width: 23vw;
height: 15vh;
margin: 3vh 0;
}

&__delete {
Expand Down

0 comments on commit 2376176

Please sign in to comment.