Skip to content

Commit 2257a1c

Browse files
fix: 글이 화면을 넘어가는 문제 해결
1 parent b67ec69 commit 2257a1c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

app/entities/post/detail/PostBody.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ interface Props {
1111
const PostBody = ({ content, loading }: Props) => {
1212
return (
1313
<div
14-
className={'max-w-3xl post-body px-4 py-16 min-h-[500px] relative '}
14+
className={'max-w-full post-body px-4 py-16 min-h-[500px] relative '}
1515
>
1616
{loading ? (
1717
<div className={'w-1/3 mx-auto'}>

app/globals.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ article.post h6 {
6565

6666
article.post .post-body {
6767
max-width: 768px;
68+
width: 100%;
6869
margin: 0 auto;
6970
font-size: 1.1em;
7071
line-height: 150%;

0 commit comments

Comments
 (0)