From 74c94474c6c4ede78aa8c4dc13e17f6479ee9ee4 Mon Sep 17 00:00:00 2001 From: Benjamin Leonard Date: Tue, 29 Apr 2025 10:31:03 +0100 Subject: [PATCH 1/3] ToC vars --- components/src/asciidoc/TableOfContents.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/src/asciidoc/TableOfContents.tsx b/components/src/asciidoc/TableOfContents.tsx index d0b729a3..314fb85e 100644 --- a/components/src/asciidoc/TableOfContents.tsx +++ b/components/src/asciidoc/TableOfContents.tsx @@ -294,7 +294,7 @@ export const DesktopOutline = ({ } if (toc && toc.length > 0) { - return + return } return null @@ -352,13 +352,13 @@ export const SmallScreenOutline = ({ > - + Table of Contents{' '} - +
{renderToc(toc)}
From 5320f03be277f973e5ba1a9d2d953f499cb51032 Mon Sep 17 00:00:00 2001 From: Benjamin Leonard Date: Tue, 29 Apr 2025 10:49:59 +0100 Subject: [PATCH 2/3] Fix tw var syntax --- components/src/asciidoc/TableOfContents.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/src/asciidoc/TableOfContents.tsx b/components/src/asciidoc/TableOfContents.tsx index 314fb85e..4d81e7ee 100644 --- a/components/src/asciidoc/TableOfContents.tsx +++ b/components/src/asciidoc/TableOfContents.tsx @@ -352,7 +352,7 @@ export const SmallScreenOutline = ({ > - + Table of Contents{' '} From 56db50376d3854c944099d739f392d3a32bb5512 Mon Sep 17 00:00:00 2001 From: Benjamin Leonard Date: Tue, 29 Apr 2025 10:58:31 +0100 Subject: [PATCH 3/3] Revert "Fix tw var syntax" This reverts commit 5320f03be277f973e5ba1a9d2d953f499cb51032. --- components/src/asciidoc/TableOfContents.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/src/asciidoc/TableOfContents.tsx b/components/src/asciidoc/TableOfContents.tsx index 4d81e7ee..314fb85e 100644 --- a/components/src/asciidoc/TableOfContents.tsx +++ b/components/src/asciidoc/TableOfContents.tsx @@ -352,7 +352,7 @@ export const SmallScreenOutline = ({ > - + Table of Contents{' '}