Skip to content

Commit bcc34cc

Browse files
authoredJan 28, 2025··
reduce main area padding x to from 24px to 16px like in next.js docs (#4085)
a
1 parent 5454e7b commit bcc34cc

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
 

‎.changeset/violet-papayas-tell.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"nextra-theme-docs": patch
3+
---
4+
5+
reduce main area padding x to from `24px` to `16px` like in next.js docs

‎packages/nextra-theme-docs/src/mdx-components/wrapper.client.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export const ClientWrapper: MDXWrapper = ({
4545
<article
4646
className={cn(
4747
'x:w-full x:min-w-0 x:break-words x:min-h-[calc(100vh-var(--nextra-navbar-height))]',
48-
'x:text-slate-700 x:dark:text-slate-200 x:pb-8 x:px-6 x:pt-4 x:md:px-12',
48+
'x:text-slate-700 x:dark:text-slate-200 x:pb-8 x:px-4 x:pt-4 x:md:px-12',
4949
themeContext.typesetting === 'article' &&
5050
'nextra-body-typesetting-article'
5151
)}

0 commit comments

Comments
 (0)
Please sign in to comment.