From cb18eef4fda8227a6c5ec73589526dd7fbb8f4a6 Mon Sep 17 00:00:00 2001 From: Bryce Russell Date: Wed, 7 Jun 2023 08:33:51 -0500 Subject: Fix bottom padding on left sidebar (#168) Co-authored-by: Chris Swithinbank --- .changeset/odd-boxes-warn.md | 5 +++++ packages/starlight/components/Sidebar.astro | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 .changeset/odd-boxes-warn.md diff --git a/.changeset/odd-boxes-warn.md b/.changeset/odd-boxes-warn.md new file mode 100644 index 00000000..c82de5e9 --- /dev/null +++ b/.changeset/odd-boxes-warn.md @@ -0,0 +1,5 @@ +--- +"@astrojs/starlight": patch +--- + +Fix bottom padding on left sidebar diff --git a/packages/starlight/components/Sidebar.astro b/packages/starlight/components/Sidebar.astro index 4bb4b53c..dd318701 100644 --- a/packages/starlight/components/Sidebar.astro +++ b/packages/starlight/components/Sidebar.astro @@ -28,6 +28,10 @@ const { sidebar, locale } = Astro.props; gap: 1rem; } + .sidebar > :global(:last-child) { + padding-bottom: 1rem; + } + .mobile-preferences { justify-content: space-between; border-top: 1px solid var(--sl-color-gray-6); -- cgit