This repository was archived by the owner on May 20, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ export default function DocLayout({
25
25
26
26
return (
27
27
< article className = "mx-auto flex h-full max-w-7xl flex-col gap-y-10 px-4 pb-10 pt-16" >
28
- < div className = "relative grid grid-cols-12 gap-10" >
29
- < div className = "col-span-12 w-full flex-auto space-y-20 md:col-span-9" >
28
+ < div className = "relative grid grid-cols-1 gap-10 md:grid-cols-12 " >
29
+ < div className = "w-full flex-auto space-y-20 md:col-span-9" >
30
30
< div >
31
31
< Breadcrumbs doc = { doc } className = "mb-4" />
32
32
< Prose > { children } </ Prose >
Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ const DocToC: React.FC<Props> = ({ doc }) => {
26
26
const articleRef = useRef < HTMLDivElement > ( null )
27
27
28
28
return (
29
- < div className = "h-full min-w-52" ref = { articleRef } >
30
- < aside className = "sticky top-[calc(var(--header-height)+1px+2rem)] hidden max-h-[calc(100vh-var(--header-height)-3rem)] min-w-40 space-y-6 md:block " >
29
+ < div className = "hidden h-full min-w-52 md:block " ref = { articleRef } >
30
+ < aside className = "sticky top-[calc(var(--header-height)+1px+2rem)] max-h-[calc(100vh-var(--header-height)-3rem)] min-w-40 space-y-6" >
31
31
{ doc . toc . length ? (
32
32
< div className = "relative flex flex-col" >
33
33
< p className = "mb-2 font-mono text-sm uppercase dark:text-zinc-300" >
You can’t perform that action at this time.
0 commit comments