Fixed incorrect width of ToC

This commit is contained in:
HangerThem 2026-08-04 09:13:36 +02:00
parent 180cdd4edc
commit 1078ed016f

View file

@ -38,7 +38,7 @@ export function TableOfContents({ items }: { items: TocItem[] }) {
if (items.length === 0) return null
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">
<h2 className="text-2xl font-bold mb-4">Table of Contents</h2>
<ul className="space-y-1 text-sm">