File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
app/(docs)/docs/[[...slug]] Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -54,12 +54,16 @@ export default async function page({ params }: IProps) {
5454 < div className = "hidden lg:block w-60 flex-shrink-0 sticky top-28 self-start" >
5555 < SideNav />
5656 </ div >
57-
57+
5858 { /* Main Content */ }
59- < div className = "flex-1 space-y-12 py-12 px-4 max-w-2xl mx-auto" >
59+ < div className = "flex-1 space-y-12 py-12 px-4 max-w-2xl mx-auto w-full " >
6060 < div className = "border-b border-black pb-6" >
61- < Text as = "h1" className = "text-4xl" > { doc . title } </ Text >
62- < p className = "text-lg text-muted-foreground mt-2" > { doc . description } </ p >
61+ < Text as = "h1" className = "text-4xl" >
62+ { doc . title }
63+ </ Text >
64+ < p className = "text-lg text-muted-foreground mt-2" >
65+ { doc . description }
66+ </ p >
6367 { doc . links && (
6468 < div className = "flex space-x-4 text-sm mt-4 text-black" >
6569 { doc . links ?. api_reference && (
@@ -90,7 +94,7 @@ export default async function page({ params }: IProps) {
9094 Last Updated: { format ( doc . lastUpdated , "dd MMM, yyy" ) }
9195 </ p >
9296 </ div >
93-
97+
9498 { /* Table of Contents */ }
9599 < div className = "hidden lg:block lg:w-60 flex-shrink-0 sticky top-36 self-start space-y-6" >
96100 < TableOfContents toc = { toc } />
You can’t perform that action at this time.
0 commit comments