From 67577dc83d3d5ab52cf9a59a542824bb7b227c59 Mon Sep 17 00:00:00 2001 From: gioboa Date: Mon, 23 Dec 2024 08:54:02 +0100 Subject: [PATCH] docs: change Toc style --- docs/src/components/Aside/Aside.tsx | 2 +- docs/src/components/Toc/Toc.tsx | 61 +++++++++++++++++------------ 2 files changed, 38 insertions(+), 25 deletions(-) diff --git a/docs/src/components/Aside/Aside.tsx b/docs/src/components/Aside/Aside.tsx index ede6377e..8dc94717 100644 --- a/docs/src/components/Aside/Aside.tsx +++ b/docs/src/components/Aside/Aside.tsx @@ -21,7 +21,7 @@ export const Aside = component$(() => { {title} ) : ( - + {text} )} diff --git a/docs/src/components/Toc/Toc.tsx b/docs/src/components/Toc/Toc.tsx index 2b9d1edd..15eabb98 100644 --- a/docs/src/components/Toc/Toc.tsx +++ b/docs/src/components/Toc/Toc.tsx @@ -1,6 +1,6 @@ import { cn } from "~/utils/cn"; -import { component$, useSignal, $, useOnWindow } from '@qwik.dev/core'; -import type { ContentHeading } from '@qwik.dev/router'; +import { component$, useSignal, $, useOnWindow } from "@qwik.dev/core"; +import type { ContentHeading } from "@qwik.dev/router"; export const Toc = component$( ({ headings }: { headings: ContentHeading[] }) => { @@ -8,8 +8,10 @@ export const Toc = component$( return null; } return ( -