File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 72
72
{/ snippet }
73
73
74
74
{#if headings .length > 0 }
75
- <div class =" fixed inset-y-0 right-0 hidden max-w-56 flex-none pr-8 xl:block" >
75
+ <div class =" fixed inset-y-0 right-0 hidden max-w-56 flex-none pr-8 xl:block print:hidden " >
76
76
<div class =" top-4 flex max-h-screen flex-col justify-between overflow-y-auto pb-6 pt-10" >
77
77
<div class =" mb-8 space-y-4" >
78
78
{@render toc (headings )}
86
86
<span class ="shrink" >{title }</span >
87
87
{#if headings .length > 0 }
88
88
<button
89
- class =" shrink-0 cursor-pointer rounded border border-zinc-300 p-1 hover:bg-zinc-200 xl:hidden dark:border-zinc-700 dark:hover:bg-zinc-800"
89
+ class =" shrink-0 cursor-pointer rounded border border-zinc-300 p-1 hover:bg-zinc-200 xl:hidden dark:border-zinc-700 dark:hover:bg-zinc-800 print:hidden "
90
90
onclick ={() => (open = ! open )}
91
91
aria-label =" Open table of contents."
92
92
>
105
105
</div >
106
106
107
107
{#if open }
108
- <div class =" mt-1 space-y-2 pt-2 xl:hidden" >
108
+ <div class =" mt-1 space-y-2 pt-2 xl:hidden print:hidden " >
109
109
{@render toc (headings )}
110
110
</div >
111
111
{/if }
You can’t perform that action at this time.
0 commit comments