File tree 3 files changed +6
-3
lines changed
3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 17
17
margin-top : calc (var (--nav-height ) * -1 );
18
18
top : 0 ;
19
19
position : sticky;
20
- @apply h-full max-h-screen overflow-y-scroll;
20
+ scrollbar-gutter : stable;
21
+ scrollbar-width : thin;
22
+
23
+ @apply h-full max-h-screen overflow-auto;
21
24
}
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ export const MenuDrawer = memo(() => {
27
27
</ div >
28
28
< Contact />
29
29
</ DrawerTitle >
30
- < div className = "h-full w-[70vw]" >
30
+ < div className = "h-full w-[70vw] overflow-auto " >
31
31
< Toc />
32
32
</ div >
33
33
</ DrawerContent >
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ const Toc = memo(() => {
12
12
return < Collapse key = { i_content } content = { c } index = { i_content } />
13
13
} )
14
14
15
- return < div className = "w-full p-2" > { contents } </ div >
15
+ return < div className = "w-full p-2 list-none " > { contents } </ div >
16
16
} )
17
17
Toc . displayName = 'Toc'
18
18
You can’t perform that action at this time.
0 commit comments