Skip to content

Commit a64db74

Browse files
committed
Make comment continer full width
1 parent d69458e commit a64db74

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

app/pages/comments.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,10 @@ const Comments: NextPage = () => {
4141
<link rel="icon" href="/favicon.ico" />
4242
</Head>
4343

44-
<section className="text-gray-600 body-font overflow-hidden">
45-
<div className="container px-5 py-24 mx-auto">
44+
<section className="text-gray-600 body-font overflow-hidden w-full">
45+
<div className="container px-3 py-24 mx-auto">
46+
{commentsQuery.fetching && <Loading />}
4647
<div className="-my-8 divide-y-2 divide-gray-100">
47-
{commentsQuery.fetching && <Loading />}
48-
4948
{commentsQuery?.data?.comments?.edges.map((edge) => (
5049
<CommentItem comment={edge.node!} key={edge.cursor} />
5150
))}

0 commit comments

Comments
 (0)