diff --git a/components/Sidebar.tsx b/components/Sidebar.tsx index 962d2412e..3dc4815b6 100644 --- a/components/Sidebar.tsx +++ b/components/Sidebar.tsx @@ -181,7 +181,7 @@ export const SidebarLayout = ({ children }: { children: React.ReactNode }) => { return (
-
+
e.stopPropagation()} @@ -197,15 +197,12 @@ export const SidebarLayout = ({ children }: { children: React.ReactNode }) => { {getStartedPath.includes(pathWtihoutFragment) && (

Getting Started

)} - {getReferencePath.includes(pathWtihoutFragment) && (

Reference

)} - {getSpecificationPath.includes(pathWtihoutFragment) && (

Specification

)} - {router.pathname === null && (

Docs

)} @@ -232,17 +229,19 @@ export const SidebarLayout = ({ children }: { children: React.ReactNode }) => {
-
+
-
- - +
+
+ + +
{children} diff --git a/styles/globals.css b/styles/globals.css index ca0e0b2cc..cd327de8f 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -294,3 +294,9 @@ border-radius: 4px; */ background: grey; border-radius: 8px; } +.scrollbar-hidden { + scrollbar-width: none; +} +.scrollbar-hidden::-webkit-scrollbar { + display: none; +} \ No newline at end of file