diff --git a/.astro/types.d.ts b/.astro/types.d.ts index 03d7cc43f..306a68bfd 100644 --- a/.astro/types.d.ts +++ b/.astro/types.d.ts @@ -1,2 +1,2 @@ /// -/// \ No newline at end of file +/// diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3a4e363b1..53642fb35 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9897,4 +9897,4 @@ snapshots: react: 19.1.0 use-sync-external-store: 1.5.0(react@19.1.0) - zwitch@2.0.4: {} + zwitch@2.0.4: {} \ No newline at end of file diff --git a/src/components/Guide/GuideContent.tsx b/src/components/Guide/GuideContent.tsx index 9d81e6008..c6ced3a2c 100644 --- a/src/components/Guide/GuideContent.tsx +++ b/src/components/Guide/GuideContent.tsx @@ -19,7 +19,7 @@ export function GuideContent(props: GuideContentProps) { return (
{(showTableOfContent || hasRelatedGuides) && ( -
+
{hasRelatedGuides && ( )} diff --git a/src/components/TableOfContent/TableOfContent.tsx b/src/components/TableOfContent/TableOfContent.tsx index 2ce89d578..a93918856 100644 --- a/src/components/TableOfContent/TableOfContent.tsx +++ b/src/components/TableOfContent/TableOfContent.tsx @@ -25,7 +25,7 @@ export function TableOfContent(props: TableOfContentProps) { className={cn( 'relative min-w-[250px] px-5 pt-0 max-lg:max-w-full max-lg:min-w-full max-lg:border-none max-lg:px-0 lg:pt-5', { - 'top-0 lg:sticky!': totalRows <= 20, + 'top-[36px] lg:sticky!': totalRows <= 20, }, )} >