@@ -16,27 +16,27 @@ export const Layout: ParentComponent<{ isError?: boolean }> = (props) => {
1616 < Show when = { frontmatter ( ) ?. hero } >
1717 < Hero />
1818 </ Show >
19- < div class = "custom-scrollbar relative mx-auto flex max-w-8xl flex-auto justify-center pt-10" >
19+ < div class = "custom-scrollbar max-w-8xl relative mx-auto flex flex-auto justify-center pt-10" >
2020 < Show when = { ! props . isError } >
2121 < div class = "hidden md:relative lg:block lg:flex-none" >
2222 < div class = "absolute inset-y-0 right-0 w-[50vw] dark:hidden" />
23- < div class = "absolute bottom-0 right-0 top-16 hidden h-12 w-px bg-linear-to-t from-slate-800 dark:block" />
24- < div class = "absolute bottom-0 right-0 top-28 hidden w-px bg-slate-800 dark:block" />
25- < div class = "sticky top-19 h-[calc(100vh-7rem)] w-64 pl-0.5 pr-2 xl:w-72" >
23+ < div class = "absolute top-16 right-0 bottom-0 hidden h-12 w-px bg-linear-to-t from-slate-800 dark:block" />
24+ < div class = "absolute top-28 right-0 bottom-0 hidden w-px bg-slate-800 dark:block" />
25+ < div class = "sticky top-19 h-[calc(100vh-7rem)] w-64 pr-2 pl-0.5 xl:w-72" >
2626 < MainNavigation />
2727 </ div >
2828 </ div >
2929 </ Show >
3030 < main
31- class = "prose prose-slate w-full flex-auto px-4 pt-2 dark:prose-invert md:max-w-2xl md:pb-16 lg:max-w-none dark:text-slate-300"
31+ class = "prose prose-slate dark:prose-invert w-full flex-auto px-4 pt-2 md:max-w-2xl md:pb-16 lg:max-w-none dark:text-slate-300"
3232 aria-live = "polite"
3333 >
3434 < Show when = { ! props . isError } fallback = { < > { props . children } </ > } >
3535 < DocsLayout > { props . children } </ DocsLayout >
3636 </ Show >
3737 </ main >
3838 < Show when = { ! props . isError } >
39- < div class = "prose prose-slate hidden w-56 shrink-0 pr-4 dark:prose-invert xl:block 2xl:w-72 dark:text-slate-300" >
39+ < div class = "prose prose-slate dark:prose-invert hidden w-56 shrink-0 pr-4 xl:block 2xl:w-72 dark:text-slate-300" >
4040 < div class = "custom-scrollbar sticky top-19 h-[calc(100vh-7rem)] overflow-y-auto" >
4141 < SidePanel />
4242 </ div >
0 commit comments