From 8593e2558fbcb6d44dd1ec119c69576f6ee602aa Mon Sep 17 00:00:00 2001 From: alexander-sei Date: Tue, 23 Dec 2025 02:06:06 +0200 Subject: [PATCH 1/2] Remove zendesk --- src/providers/DocsProviders.tsx | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/providers/DocsProviders.tsx b/src/providers/DocsProviders.tsx index 5631301f..c41d2495 100644 --- a/src/providers/DocsProviders.tsx +++ b/src/providers/DocsProviders.tsx @@ -46,14 +46,6 @@ export default function DocsProviders({ children, pageMap }) { <>
- - Support -
@@ -71,14 +63,6 @@ export default function DocsProviders({ children, pageMap }) {
- - Support - {isHomepage && } From 805f9ad791fb8a30f1f19506cd29d677f1b958ab Mon Sep 17 00:00:00 2001 From: alexander-sei Date: Tue, 23 Dec 2025 02:07:03 +0200 Subject: [PATCH 2/2] Reduce navbar & sidebar size --- app/globals.css | 64 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/app/globals.css b/app/globals.css index 30a85c3a..6d06a312 100644 --- a/app/globals.css +++ b/app/globals.css @@ -377,3 +377,67 @@ aside, .dark .nextra-callout[class*='border-orange'] svg { color: rgba(253, 186, 116, 0.92) !important; } + +/* Sidebar Compactness Overrides */ + +/* Reduce vertical padding for sidebar links */ +.nextra-sidebar ul li a, +.nextra-sidebar ul li button, +.nextra-mobile-nav ul li a, +.nextra-mobile-nav ul li button { + padding-top: 0.1rem !important; + padding-bottom: 0.1rem !important; + padding-left: 0.45rem !important; + padding-right: 0.2rem !important; +} + +/* Reduce vertical spacing for section separators/headers */ +.nextra-sidebar-separator { + margin-top: 1rem !important; + margin-bottom: 0.5rem !important; +} + +/* Reduce general spacing in the sidebar */ +.nextra-sidebar ul { + gap: 0.25rem; +} + +.nextra-sidebar .nextra-scrollbar, +.nextra-mobile-nav .nextra-scrollbar { + padding-left: 0.75rem !important; + padding-right: 0.2rem !important; +} + +@media (min-width: 768px) { + .nextra-sidebar[class*='x:w-64'] { + width: var(--sei-docs-sidebar-width, 13rem) !important; + min-width: var(--sei-docs-sidebar-width, 13rem) !important; + max-width: var(--sei-docs-sidebar-width, 13rem) !important; + flex-basis: var(--sei-docs-sidebar-width, 13rem) !important; + } + + .nextra-sidebar[class*='x:w-20'] { + width: var(--sei-docs-sidebar-width-collapsed, 4.5rem) !important; + min-width: var(--sei-docs-sidebar-width-collapsed, 4.5rem) !important; + max-width: var(--sei-docs-sidebar-width-collapsed, 4.5rem) !important; + flex-basis: var(--sei-docs-sidebar-width-collapsed, 4.5rem) !important; + } + + .nextra-sidebar ~ article { + padding-left: 1.5rem !important; + padding-right: 1.5rem !important; + } +} + +@media (max-width: 767px) { + .nextra-mobile-nav { + inset: 0 auto 0 0 !important; + width: var(--sei-docs-mobile-nav-width, min(86vw, 20rem)) !important; + max-width: 20rem !important; + border-right: 1px solid rgba(0, 0, 0, 0.08); + } + + .dark .nextra-mobile-nav { + border-right-color: rgba(255, 255, 255, 0.08); + } +}