File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import PostRepliesContainer from '../../containers/post/PostRepliesContainer';
11
11
import PostEditComment from '../../containers/post/PostEditComment' ;
12
12
import media from '../../lib/styles/media' ;
13
13
import { Link } from 'react-router-dom' ;
14
+ import MarkdownRender from '../common/MarkdownRender' ;
14
15
15
16
const PostCommentItemBlock = styled . div `
16
17
padding-top: 1.5rem;
@@ -90,6 +91,14 @@ const CommentHead = styled.div`
90
91
` ;
91
92
92
93
const CommentText = styled . p < { deleted : boolean } > `
94
+ h1,
95
+ h2 {
96
+ font-size: 1.75rem;
97
+ ${ media . small } {
98
+ font-size: 1.5rem;
99
+ }
100
+ }
101
+
93
102
${ props =>
94
103
props . deleted &&
95
104
css `
@@ -188,7 +197,7 @@ const PostCommentItem: React.FC<PostCommentItemProps> = ({
188
197
) : (
189
198
< Typography >
190
199
< CommentText deleted = { deleted } >
191
- { text || '삭제된 댓글입니다.' }
200
+ < MarkdownRender markdown = { text || '삭제된 댓글입니다.' } />
192
201
</ CommentText >
193
202
</ Typography >
194
203
) }
You can’t perform that action at this time.
0 commit comments