fix: push TOC below sticky header by increasing sticky top offset
This commit is contained in:
@@ -58,7 +58,7 @@ export function TableOfContents() {
|
|||||||
if (headings.length === 0) return null;
|
if (headings.length === 0) return null;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<nav className="lg:sticky lg:top-8">
|
<nav className="lg:sticky lg:top-[72px]">
|
||||||
<h4 className="font-sans text-xs font-semibold uppercase tracking-wider text-ink-soft mb-3">
|
<h4 className="font-sans text-xs font-semibold uppercase tracking-wider text-ink-soft mb-3">
|
||||||
On this page
|
On this page
|
||||||
</h4>
|
</h4>
|
||||||
|
|||||||
Reference in New Issue
Block a user