Fixed incorrect width of ToC
This commit is contained in:
parent
180cdd4edc
commit
1078ed016f
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ export function TableOfContents({ items }: { items: TocItem[] }) {
|
||||||
if (items.length === 0) return null
|
if (items.length === 0) return null
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<aside className="hidden lg:block w-80 xl:w-100">
|
<aside className="hidden lg:block w-80 2xl:w-100">
|
||||||
<nav aria-label="Table of contents" className="sticky top-20">
|
<nav aria-label="Table of contents" className="sticky top-20">
|
||||||
<h2 className="text-2xl font-bold mb-4">Table of Contents</h2>
|
<h2 className="text-2xl font-bold mb-4">Table of Contents</h2>
|
||||||
<ul className="space-y-1 text-sm">
|
<ul className="space-y-1 text-sm">
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue