Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
gudusol committed Jul 19, 2024
2 parents eda9f07 + 8591931 commit 02c1ed8
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 02c1ed8

Please sign in to comment.