Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en">
<html lang="ko">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
Expand Down
3 changes: 0 additions & 3 deletions src/components/option/background-select.jsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { useEffect, useState } from "react";
import styled from "styled-components";
import CheckImage from "../../assets/ic-check.svg";
import { OutlinedButton } from "../button/button";
import BUTTON_SIZE from "../button/button-size";
import { media } from "../../utils/media";
import BACKGROUND_COLOR from "../color/background-color";
import Colors from "../color/colors";
Expand Down Expand Up @@ -37,7 +35,6 @@ const CheckedIcon = styled.img`
left: 50%;
transform: translate(-50%, -50%);
padding: 5px;
}
`;

const BackgroundOverlay = styled.div`
Expand Down
12 changes: 7 additions & 5 deletions src/pages/send-message-page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@ const AvatarOption = styled.div`
}
`;

const AvatarPreview = styled.div`
cursor: pointer;
const DefaultAvatar = styled.div`
height: 100%;
padding-top: 20px;
`;

const DefaultAvatar = styled.div`
const AvatarPreview = styled.div`
cursor: pointer;
padding-top: 20px;
box-shadow: ${({ $isSelected }) =>
$isSelected ? `0 0 0 2px ${Colors.purple(600)}` : "none"};
border-radius: 50%;
Expand Down Expand Up @@ -173,7 +173,9 @@ function SendMessagePage() {
<Wrapper>
<SendTitle>프로필 이미지</SendTitle>
<AvatarWrapper>
<Avatar size={AVATAR_SIZE.large} source={selectedAvatar} />
<DefaultAvatar>
<Avatar size={AVATAR_SIZE.large} source={selectedAvatar} />
</DefaultAvatar>
<AvatarOptionWrapper>
<AvatarDescription>
프로필 이미지를 선택해 주세요!
Expand Down