Skip to content

Commit 2c03a05

Browse files
authored
fix: hide content scrollbar (#8)
1 parent 56a24fb commit 2c03a05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/toc/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function Toc(props: TocProps) {
1818
return (
1919
!!dataSource.length && (
2020
<div className={className}>
21-
<nav className="h-full w-full overflow-scroll">
21+
<nav className="h-full w-full">
2222
<ul className={listClasses}>
2323
{dataSource
2424
.filter((item) => item.depth > 1)

0 commit comments

Comments
 (0)