We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3c31da commit f34ee35Copy full SHA for f34ee35
site/src/components/TOC.tsx
@@ -47,7 +47,7 @@ export default function TOC({ headings, ...props }: Props) {
47
<a
48
ref={(el) => (linkRefs.current[h.slug] = el)}
49
data-active={h.slug === activeSlug || undefined}
50
- className="opacity-40 data-[active]:opacity-100 dark:opacity-50"
+ className="opacity-40 transition-opacity hover:opacity-70 data-[active]:opacity-100 dark:opacity-50"
51
href={`#${h.slug}`}
52
>
53
{h.text}
0 commit comments