Skip to content

Commit

Permalink
fix: 채팅방 미리보기 버그 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ss0526100 committed Oct 23, 2024
1 parent 456f1c3 commit 252c835
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions frontend/src/components/UserPreview/UserPreview.style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export const preview = ({
height: ${size || '3.5rem'};
background: url(${imageUrl}), url(${defaultProfile});
background-color: white;
background-repeat: no-repeat;
background-position: center center;
background-size: 100% 100%;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export const Container = ({ theme }: { theme: Theme }) => css`
display: flex;
flex-direction: column;
gap: 2rem;
align-items: center;
align-items: flex-start;
justify-content: flex-start;
width: 100%;
Expand Down
4 changes: 1 addition & 3 deletions frontend/src/pages/Chatting/ChatPage/ChatPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default function ChatPage() {
</h2>
</ChattingPreviewLayout.Header.Left>
</ChattingPreviewLayout.Header>
<ChattingPreviewLayout.HeaderBottom>
<ChattingPreviewLayout.ContentContainer>
<ChatFilterTagList>
<ChatFilterTag
value={'모임'}
Expand All @@ -48,8 +48,6 @@ export default function ChatPage() {
onClick={() => setNowChatRoomType('BET')}
/>
</ChatFilterTagList>
</ChattingPreviewLayout.HeaderBottom>
<ChattingPreviewLayout.ContentContainer>
{isLoading ? (
<ChatCardListSkeleton />
) : chatPreviews && chatPreviews.length > 0 ? (
Expand Down

0 comments on commit 252c835

Please sign in to comment.