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: {
2929
3030 'flex' ,
3131 'flex-col' ,
32+ 'gap-4' ,
3233
33- 'max-lg:fixed' ,
34- 'max-lg:z-50' ,
35- 'max-lg:py-2' ,
34+ 'border-tint-subtle' ,
35+
36+ 'fixed' ,
37+ 'z-50' ,
3638
3739 'max-lg:transition' ,
3840 'max-lg:ease-in-out' ,
@@ -48,6 +50,7 @@ export function TableOfContents(props: {
4850 'max-lg:[html.sidebar-filled.theme-muted_&]:bg-tint-base' ,
4951 'max-lg:[html.sidebar-filled.theme-bold.tint_&]:bg-tint-base' ,
5052
53+ 'max-lg:py-2' ,
5154 'max-lg:w-10/12' ,
5255 'max-lg:shadow-lg' ,
5356 'max-lg:depth-flat:shadow-none' ,
@@ -92,9 +95,7 @@ export function TableOfContents(props: {
9295
9396 'page-no-toc:lg:hidden' ,
9497 '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'
9899 ) }
99100 >
100101 { header && header }
You can’t perform that action at this time.
0 commit comments