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: {
32
32
) }
33
33
>
34
34
{ ! ! innerHeader && (
35
- < div className = "inline-flex w-full flex-col gap-2 px-2 max-lg:mt -2 max-lg:pr-12 lg:pr-4 lg:* :mt-0.5 " >
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 " >
36
36
{ innerHeader }
37
37
</ div >
38
38
) }
39
39
40
40
< TOCScrollContainer // The scrollview inside the sidebar
41
41
className = { tcls (
42
42
'flex flex-grow flex-col p-2' ,
43
- innerHeader ? 'mt-0' : 'mt-8' ,
43
+ innerHeader ? 'mt-0 lg:mt-2 ' : 'mt-8' ,
44
44
customization . trademark . enabled && 'pb-20' ,
45
45
'gutter-stable overflow-y-auto' ,
46
46
'[&::-webkit-scrollbar]:bg-transparent' ,
You can’t perform that action at this time.
0 commit comments