Skip to content

Commit 24f6d2f

Browse files
authored
Merge pull request #87 from gummmmmy0v0/feature/#67
[#67] index.html 수정 등 단순 수정
2 parents 9cda299 + f3311a3 commit 24f6d2f

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

src/components/option/background-select.jsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
import { useEffect, useState } from "react";
22
import styled from "styled-components";
33
import CheckImage from "../../assets/ic-check.svg";
4-
import { OutlinedButton } from "../button/button";
5-
import BUTTON_SIZE from "../button/button-size";
64
import { media } from "../../utils/media";
75
import BACKGROUND_COLOR from "../color/background-color";
86
import 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

4340
const BackgroundOverlay = styled.div`

src/pages/send-message-page.jsx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff 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
프로필 이미지를 선택해 주세요!

0 commit comments

Comments
 (0)