File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 11import { useEffect , useState } from "react" ;
22import styled from "styled-components" ;
33import CheckImage from "../../assets/ic-check.svg" ;
4- import { OutlinedButton } from "../button/button" ;
5- import BUTTON_SIZE from "../button/button-size" ;
64import { media } from "../../utils/media" ;
75import BACKGROUND_COLOR from "../color/background-color" ;
86import Colors from "../color/colors" ;
@@ -37,7 +35,6 @@ const CheckedIcon = styled.img`
3735 left: 50%;
3836 transform: translate(-50%, -50%);
3937 padding: 5px;
40- }
4138` ;
4239
4340const BackgroundOverlay = styled . div `
Original file line number Diff line number Diff line change @@ -70,13 +70,13 @@ const AvatarOption = styled.div`
7070 }
7171` ;
7272
73- const AvatarPreview = styled . div `
74- cursor: pointer;
73+ const DefaultAvatar = styled . div `
74+ height: 100%;
75+ padding-top: 20px;
7576` ;
7677
77- const DefaultAvatar = styled . div `
78+ const AvatarPreview = styled . div `
7879 cursor: pointer;
79- padding-top: 20px;
8080 box-shadow: ${ ( { $isSelected } ) =>
8181 $isSelected ? `0 0 0 2px ${ Colors . purple ( 600 ) } ` : "none" } ;
8282 border-radius: 50%;
@@ -173,7 +173,9 @@ function SendMessagePage() {
173173 < Wrapper >
174174 < SendTitle > 프로필 이미지</ SendTitle >
175175 < AvatarWrapper >
176- < Avatar size = { AVATAR_SIZE . large } source = { selectedAvatar } />
176+ < DefaultAvatar >
177+ < Avatar size = { AVATAR_SIZE . large } source = { selectedAvatar } />
178+ </ DefaultAvatar >
177179 < AvatarOptionWrapper >
178180 < AvatarDescription >
179181 프로필 이미지를 선택해 주세요!
You can’t perform that action at this time.
0 commit comments