Skip to content

Commit

Permalink
fix(docs): fixed article's margin
Browse files Browse the repository at this point in the history
  • Loading branch information
DuCanhGH committed May 5, 2024
1 parent 7fa9044 commit f35ddc9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docs/src/app/docs/[[...slug]]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,8 @@ const PostLayout: PageComponent = async ({ params }) => {
</div>
</div>
</nav>
<article className="w-full min-w-0 md:py-8">
<div className="w-full min-w-0 max-w-6xl px-6 py-4 md:px-12 flex flex-col">
<Content components={tocHeadingMdxComponents} />
</div>
<article className="w-full min-w-0 p-6 md:px-12 md:pb-12 xl:pt-12 flex flex-col">
<Content components={tocHeadingMdxComponents} />
</article>
</TocProvider>
);
Expand Down

0 comments on commit f35ddc9

Please sign in to comment.