From 0319bed1902eefe8b7d23c34a40839a67726b669 Mon Sep 17 00:00:00 2001 From: Chris Swithinbank Date: Fri, 3 Nov 2023 17:34:50 +0100 Subject: [PATCH 1/3] Fix docs component details (#1031) * Fix link colour on homepage * Prevent highlighted file tree entries from touching --- docs/src/components/about-astro.astro | 3 ++- docs/src/components/file-tree.astro | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/src/components/about-astro.astro b/docs/src/components/about-astro.astro index 964a40ea30f..665d11258a6 100644 --- a/docs/src/components/about-astro.astro +++ b/docs/src/components/about-astro.astro @@ -6,7 +6,7 @@ interface Props { const { title } = Astro.props; --- -
+
{title} Astro @@ -37,6 +37,7 @@ const { title } = Astro.props; } article > :global(*) { max-width: 50ch; + margin-top: 0 !important; } small { color: var(--sl-color-gray-3); diff --git a/docs/src/components/file-tree.astro b/docs/src/components/file-tree.astro index db0a27e8a26..6961461d4f5 100644 --- a/docs/src/components/file-tree.astro +++ b/docs/src/components/file-tree.astro @@ -22,6 +22,7 @@ const processedContent = await fileTreeProcessor.process({