We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27d06a6 commit c8e0df0Copy full SHA for c8e0df0
src/components/TableOfContents/TableOfContentsLink.tsx
@@ -26,7 +26,10 @@ const Link = ({
26
)}
27
>
28
<div
29
- className="absolute top-1/2 -mt-1 hidden h-2 w-2 rounded-full border border-primary-hover bg-background group-hover:inline-block"
+ className={cn(
30
+ "absolute top-1/2 -mt-1 hidden h-2 w-2 rounded-full border border-primary-hover bg-background group-hover:inline-block",
31
+ isActive && "inline-block"
32
+ )}
33
style={{
34
insetInlineStart: `calc(-16px - 8px * ${depth} - 4px - 1px)`,
35
}}
0 commit comments