From 10d942852c35fb61f8caab7b7cdb53b215c830f2 Mon Sep 17 00:00:00 2001 From: Simon H <5968653+dummdidumm@users.noreply.github.com> Date: Thu, 21 Sep 2023 10:58:24 +0200 Subject: [PATCH] fix: take banner bottom height into account for ts toggle (#238) --- .changeset/chilly-cameras-whisper.md | 5 +++++ packages/site-kit/src/lib/docs/DocsContents.svelte | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/chilly-cameras-whisper.md diff --git a/.changeset/chilly-cameras-whisper.md b/.changeset/chilly-cameras-whisper.md new file mode 100644 index 00000000..61391cd3 --- /dev/null +++ b/.changeset/chilly-cameras-whisper.md @@ -0,0 +1,5 @@ +--- +'@sveltejs/site-kit': patch +--- + +fix: take banner bottom height into account for ts toggle diff --git a/packages/site-kit/src/lib/docs/DocsContents.svelte b/packages/site-kit/src/lib/docs/DocsContents.svelte index 698b1d39..85f32d24 100644 --- a/packages/site-kit/src/lib/docs/DocsContents.svelte +++ b/packages/site-kit/src/lib/docs/DocsContents.svelte @@ -108,7 +108,7 @@ .ts-toggle { position: fixed; width: var(--sidebar-width); - bottom: 0; + bottom: var(--sk-banner-bottom-height); left: 0; z-index: 1; margin-right: 0;