diff --git a/frontend/components/NavOverflow.tsx b/frontend/components/NavOverflow.tsx index c5b7fac9..2e371a76 100644 --- a/frontend/components/NavOverflow.tsx +++ b/frontend/components/NavOverflow.tsx @@ -15,7 +15,6 @@ for (let i = 0; i < navItemsEl.children.length; i++) { } const active = navItemsEl.querySelector("[data-active]"); -console.log(active, navItems.get(active)); function updateNavItems() { const navWidth = navItemsEl.parentElement.offsetWidth; diff --git a/frontend/routes/package/(_components)/Docs.tsx b/frontend/routes/package/(_components)/Docs.tsx index 2bfa89ca..3fbe10b0 100644 --- a/frontend/routes/package/(_components)/Docs.tsx +++ b/frontend/routes/package/(_components)/Docs.tsx @@ -88,7 +88,7 @@ export function DocsView( )} {docs.toc && ( -
+
{!docs.breadcrumbs && (
diff --git a/frontend/static/styles.css b/frontend/static/styles.css index 617d1010..1f01a3af 100644 --- a/frontend/static/styles.css +++ b/frontend/static/styles.css @@ -406,6 +406,10 @@ body .ddoc .toc { } } +body .ddoc:has(.toc) { + scrollbar-width: thin; +} + /* These might seem redundant but Tailwind won't always load them in the compiled stylesheet unless they're explicitly included here. */ .score-ring-red { @apply bg-red-500;