File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/gitbook/src/components/TableOfContents Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -32,15 +32,15 @@ export function TOCScrollContent(props: {
3232 ) }
3333 >
3434 { ! ! innerHeader && (
35- < div className = "inline-flex w-full flex-col gap-4 px-2 max-lg:py -2 max-lg:pr-12 lg:pr-4 lg:first:mt-4" >
35+ < div className = "inline-flex w-full flex-col gap-4 px-2 max-lg:pt -2 max-lg:pr-12 lg:pr-4 lg:first:mt-4" >
3636 { innerHeader }
3737 </ div >
3838 ) }
3939
4040 < TOCScrollContainer // The scrollview inside the sidebar
4141 className = { tcls (
4242 'flex flex-grow flex-col p-2' ,
43- innerHeader ? 'mt-0 lg:mt-2' : 'pt-4 lg:pt-2' ,
43+ innerHeader ? 'mt-0 lg:mt-2' : 'pt-12 lg:pt-2' ,
4444 customization . trademark . enabled && 'pb-[4.5rem]' ,
4545 'gutter-stable overflow-y-auto' ,
4646 '[&::-webkit-scrollbar]:bg-transparent' ,
You can’t perform that action at this time.
0 commit comments