Skip to content

Commit

Permalink
fix: 채팅방 전송 버튼 텍스트로 변경 (#470)
Browse files Browse the repository at this point in the history
  • Loading branch information
1g2g authored Dec 3, 2023
1 parent a57add0 commit 9e1b87e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 3 additions & 2 deletions src/pages/ChattingPage/ChattingPage.style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ export const Main = styled(Flex)`
`;

export const SendButton = styled.button`
width: 32px;
width: 48px;
height: 32px;
font-size: ${({ theme }) => theme.FONT_SIZE.XS};
background-color: ${({ theme }) => theme.PALETTE.RED_500};
color: white;
outline: none;
border-radius: 50%;
border-radius: 10%;
border: none;
& > svg {
width: 100%;
Expand All @@ -33,6 +33,7 @@ export const SendButton = styled.button`
`;

export const InputWrapper = styled.div`
z-index: 1000;
position: fixed;
bottom: 0px;
width: 100%;
Expand Down
4 changes: 1 addition & 3 deletions src/pages/ChattingPage/ChattingPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ import { theme } from '@styles/theme';

import { PATH_NAME } from '@constants/pathName';

import PaperPlane from '@assets/paperPlane.svg?react';

import {
AlignedCenteredText,
ChatRoomContainer,
Expand Down Expand Up @@ -84,7 +82,7 @@ export const ChattingPage = () => {
ref={inputRef}
>
<SendButton>
<PaperPlane />
<Text nowrap>전송</Text>
</SendButton>
</Input>
</InputWrapper>
Expand Down

0 comments on commit 9e1b87e

Please sign in to comment.