Skip to content

Commit

Permalink
TOC ux fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chdeskur committed Oct 11, 2024
1 parent 309b233 commit 38ab7d5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export const TableOfContents: React.FC<TableOfContents.Props> = ({ className, ta
)}
{tableOfContents.length > 0 && (
<ul
className={clsx("toc-root", className)}
className={clsx("toc-root not-prose", className)}
style={{ ...style, "--height": `${liHeight}px`, "--top": `${offsetTop}px` } as CSSProperties}
>
{flattenTableOfContents(tableOfContents)}
Expand Down

0 comments on commit 38ab7d5

Please sign in to comment.