From c181a657bd6139dfc1019e05ef298746e78ccab7 Mon Sep 17 00:00:00 2001 From: MacRimi Date: Tue, 18 Feb 2025 12:05:07 +0100 Subject: [PATCH] update --- web/app/docs/layout.tsx | 2 +- web/components/DocSidebar.tsx | 47 ++++++++++++++++------------------- 2 files changed, 23 insertions(+), 26 deletions(-) diff --git a/web/app/docs/layout.tsx b/web/app/docs/layout.tsx index 972ab96..6471b0a 100644 --- a/web/app/docs/layout.tsx +++ b/web/app/docs/layout.tsx @@ -7,7 +7,7 @@ interface LayoutProps { export default function DocsLayout({ children }: LayoutProps) { return ( -
+
{children}
diff --git a/web/components/DocSidebar.tsx b/web/components/DocSidebar.tsx index a1a0c82..5516cc4 100644 --- a/web/components/DocSidebar.tsx +++ b/web/components/DocSidebar.tsx @@ -67,7 +67,7 @@ export default function DocSidebar() { useEffect(() => { const handleResize = () => { - if (window.innerWidth >= 768) { + if (window.innerWidth >= 1024) { setIsMobileMenuOpen(false) } } @@ -126,30 +126,27 @@ export default function DocSidebar() { } } -return ( - <> - -
- +
+
- - - -) +

Documentation

+ + + + ) } -