@@ -27,7 +27,9 @@ export function PageBody(props: {
2727 const { page, context, ancestors, document, withPageFeedback } = props ;
2828 const { customization } = context ;
2929
30- const asFullWidth = document ? hasFullWidthBlock ( document ) : false ;
30+ const contentFullWidth = document ? hasFullWidthBlock ( document ) : false ;
31+ const pageFullWidth = page . id === 'wtthNFMqmEQmnt5LKR0q' ;
32+ const asFullWidth = pageFullWidth || contentFullWidth ;
3133 const language = getSpaceLanguage ( customization ) ;
3234 const updatedAt = page . updatedAt ?? page . createdAt ;
3335
@@ -36,15 +38,11 @@ export function PageBody(props: {
3638 < main
3739 className = { tcls (
3840 'relative min-w-0 flex-1' ,
39- 'py-8 lg:px-12 ' ,
41+ 'mx-auto max-w-screen-2xl py-8 ' ,
4042 // Allow words to break if they are too long.
4143 'break-anywhere' ,
42- // When in api page mode without the aside, we align with the border of the main content
43- 'page-api-block:xl:max-2xl:pr-0' ,
44- // Max size to ensure one column in api is aligned with rest of content (2 x 3xl) + (gap-3 + 2) * px-12
45- 'page-api-block:mx-auto page-api-block:max-w-screen-2xl' ,
46- // page.layout.tableOfContents ? null : 'xl:ml-56',
47- asFullWidth ? 'page-full-width' : 'page-default-width' ,
44+ pageFullWidth ? 'page-full-width 2xl:px-8' : 'page-default-width' ,
45+ asFullWidth ? 'site-full-width' : 'site-default-width' ,
4846 page . layout . tableOfContents ? 'page-has-toc' : 'page-no-toc'
4947 ) }
5048 >
@@ -81,7 +79,7 @@ export function PageBody(props: {
8179 < PageFooterNavigation context = { context } page = { page } />
8280 ) : null }
8381
84- < div className = "mx-auto mt-6 page-api-block:ml-0 flex max-w-3xl flex-row flex-wrap items-center gap-4 text-tint contrast-more:text-tint-strong" >
82+ < div className = "mx-auto mt-6 page-api-block:ml-0 flex max-w-3xl page-full-width:max-w-screen-2xl flex-row flex-wrap items-center gap-4 text-tint contrast-more:text-tint-strong" >
8583 { updatedAt ? (
8684 < p className = "mr-auto text-sm" >
8785 { t ( language , 'page_last_modified' , < DateRelative value = { updatedAt } /> ) }
0 commit comments