From 7b74f3475d3f5daf1d346279a48f97e961aebeba Mon Sep 17 00:00:00 2001 From: Darius Cepulis Date: Mon, 3 Nov 2025 12:40:07 -0600 Subject: [PATCH] fix(site): stretch docs sidebar on desktop to prevent safari visual bug where, behind the sidebar, the docs sidebar's texture interfered with the sitewide texture --- site/src/components/docs/DocsSidebar.astro | 6 ++++-- site/src/layouts/Docs.astro | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/site/src/components/docs/DocsSidebar.astro b/site/src/components/docs/DocsSidebar.astro index f1f293ae..c98cfd2c 100644 --- a/site/src/components/docs/DocsSidebar.astro +++ b/site/src/components/docs/DocsSidebar.astro @@ -5,18 +5,20 @@ import { PreferenceUpdater } from '@/components/docs/PreferenceUpdater'; import SidebarItem from '@/components/docs/SidebarItem.astro'; import { filterSidebar } from '@/utils/docs/sidebar'; import FilmGrain from '../FilmGrain'; +import clsx from 'clsx'; type Props = { framework: F; style: SupportedStyle; docTitles: Map; + class?: string; }; -const { framework, style, docTitles } = Astro.props; +const { framework, style, docTitles, class: className } = Astro.props; const filteredSidebar = filterSidebar(framework, style); --- -
+