Skip to content

Commit

Permalink
fix: 모임 소개글 텍스트 스타일 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
gudusol committed Jul 19, 2024
1 parent 7e0205c commit 8591931
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions src/pages/class/components/ClassInfo/ClassInfo.style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,10 @@ export const classInfoContainer = (theme: Theme) => css`
${theme.font['body02-r-14']};
color: ${theme.color.midgray2};
`;

export const contentStyle = (theme: Theme) => css`
${theme.font['body02-r-14']};
color: ${theme.color.midgray2};
white-space: pre-line;
`;
4 changes: 2 additions & 2 deletions src/pages/class/components/ClassInfo/ClassInfo.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { classInfoContainer } from './ClassInfo.style';
import { classInfoContainer, contentStyle } from './ClassInfo.style';

interface ClassInfoProps {
content: string;
Expand All @@ -7,7 +7,7 @@ interface ClassInfoProps {
const ClassInfo = ({ content }: ClassInfoProps) => {
return (
<article css={classInfoContainer}>
<p>{content}</p>
<p css={contentStyle}>{content}</p>
</article>
);
};
Expand Down

0 comments on commit 8591931

Please sign in to comment.