File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
packages/gitbook/src/components/TableOfContents Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -29,10 +29,12 @@ export function TableOfContents(props: {
29
29
30
30
'flex' ,
31
31
'flex-col' ,
32
+ 'gap-4' ,
32
33
33
- 'max-lg:fixed' ,
34
- 'max-lg:z-50' ,
35
- 'max-lg:py-2' ,
34
+ 'border-tint-subtle' ,
35
+
36
+ 'fixed' ,
37
+ 'z-50' ,
36
38
37
39
'max-lg:transition' ,
38
40
'max-lg:ease-in-out' ,
@@ -48,6 +50,7 @@ export function TableOfContents(props: {
48
50
'max-lg:[html.sidebar-filled.theme-muted_&]:bg-tint-base' ,
49
51
'max-lg:[html.sidebar-filled.theme-bold.tint_&]:bg-tint-base' ,
50
52
53
+ 'max-lg:py-2' ,
51
54
'max-lg:w-10/12' ,
52
55
'max-lg:shadow-lg' ,
53
56
'max-lg:depth-flat:shadow-none' ,
@@ -92,9 +95,7 @@ export function TableOfContents(props: {
92
95
93
96
'page-no-toc:lg:hidden' ,
94
97
'page-no-toc:xl:flex' ,
95
- 'site-header-none:page-no-toc:lg:flex' ,
96
- 'gap-4' ,
97
- 'border-tint-subtle'
98
+ 'site-header-none:page-no-toc:lg:flex'
98
99
) }
99
100
>
100
101
{ header && header }
You can’t perform that action at this time.
0 commit comments