+
diff --git a/app/globals.css b/app/globals.css
index a0b2d38..adffb0d 100644
--- a/app/globals.css
+++ b/app/globals.css
@@ -155,29 +155,26 @@
color: var(--foreground);
}
-.docs-sidebar-scroll {
- scrollbar-gutter: stable;
- scrollbar-width: thin;
- scrollbar-color: color-mix(in oklab, var(--sidebar-foreground) 20%, transparent)
- transparent;
+.docs-scroll {
+ -ms-overflow-style: none;
+ scrollbar-width: none;
}
-.docs-sidebar-scroll::-webkit-scrollbar {
- width: 0.375rem;
-}
-
-.docs-sidebar-scroll::-webkit-scrollbar-track {
+.docs-scroll::-webkit-scrollbar {
+ display: none;
+ width: 0;
+ height: 0;
background: transparent;
}
-.docs-sidebar-scroll::-webkit-scrollbar-thumb {
- border: 2px solid var(--sidebar);
- border-radius: 999px;
- background: color-mix(in oklab, var(--sidebar-foreground) 16%, transparent);
-}
-
-.docs-sidebar-scroll::-webkit-scrollbar-thumb:hover {
- background: color-mix(in oklab, var(--sidebar-foreground) 28%, transparent);
+.docs-scroll::-webkit-scrollbar-thumb,
+.docs-scroll::-webkit-scrollbar-track,
+.docs-scroll::-webkit-scrollbar-button,
+.docs-scroll::-webkit-scrollbar-corner {
+ display: none;
+ width: 0;
+ height: 0;
+ background: transparent;
}
.docs-content [data-rehype-pretty-code-figure] {
diff --git a/components/cli-block.tsx b/components/cli-block.tsx
index 63a5e97..012476f 100644
--- a/components/cli-block.tsx
+++ b/components/cli-block.tsx
@@ -46,7 +46,7 @@ export function CliBlock({ commands }: { commands: string[] }) {
return (
-
+
{managers.map((manager) => {
const { icon: Icon, activeTextClassName } = managerMeta[manager];
@@ -69,7 +69,7 @@ export function CliBlock({ commands }: { commands: string[] }) {
diff --git a/components/docs-shell.tsx b/components/docs-shell.tsx
index 1c2e83e..f4bc218 100644
--- a/components/docs-shell.tsx
+++ b/components/docs-shell.tsx
@@ -41,7 +41,7 @@ export function DocsShell({
}
/>
-
{children}
+
{children}
);
}
diff --git a/components/docs-sidebar.tsx b/components/docs-sidebar.tsx
index c0b7c4e..ccf96cd 100644
--- a/components/docs-sidebar.tsx
+++ b/components/docs-sidebar.tsx
@@ -93,7 +93,7 @@ export function DocsSidebar({
<>
-
+
{showcase.map((item) => (
diff --git a/components/mdx.tsx b/components/mdx.tsx
index de4efee..66a453a 100644
--- a/components/mdx.tsx
+++ b/components/mdx.tsx
@@ -83,7 +83,7 @@ export function getMDXComponents(components?: MDXComponents): MDXComponents {
),
table: ({ className, ...props }: ComponentPropsWithoutRef<"table">) => (
-
+
@@ -145,7 +145,7 @@ export function getMDXComponents(components?: MDXComponents): MDXComponents {
}
return (
-
+
{children}
);