UI: Improve TOC design

This commit is contained in:
fuma-nama
2024-08-08 15:05:50 +08:00
parent c3518495fc
commit 6c4296042c
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'fumadocs-ui': patch
---
Improve TOC design
+1 -1
View File
@@ -121,7 +121,7 @@ function TOCItems({
);
return (
<ScrollArea className={cn('flex flex-col', isMenu && '-mx-3')}>
<ScrollArea className={cn('flex flex-col', isMenu && '-ms-3')}>
<ScrollViewport className="relative min-h-0 text-sm" ref={containerRef}>
<div
role="none"