Skip to content

Commit

Permalink
feat: 크루 상세 페이지 크루 소개글 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
dlwl98 committed Dec 3, 2023
1 parent 90ed77f commit 8bb8a9c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions src/pages/CrewsDetailPage/CrewsDetailPage.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,8 @@ export const ToolTipWrapper = styled.div`
border: 1px solid ${({ theme }) => theme.PALETTE.RED_400};
border-radius: 5px;
`;

export const ContentText = styled(Text)`
white-space: pre-wrap;
word-break: break-all;
`;
5 changes: 3 additions & 2 deletions src/pages/CrewsDetailPage/CrewsDetailPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import {
AvatarWrapper,
BackgoundImage,
ButtonWrapper,
ContentText,
CrewProfileInfo,
Crown,
MemberName,
Expand Down Expand Up @@ -79,9 +80,9 @@ export const CrewsDetailPage = () => {
<Text size={20} weight={700}>
크루 소개
</Text>
<Text size={16} weight={300}>
<ContentText size={16} weight={300}>
{crew.content}
</Text>
</ContentText>
<Text size={20} weight={700}>
크루원
</Text>
Expand Down

0 comments on commit 8bb8a9c

Please sign in to comment.