From 89e0a04c26639246f550957acda2285e50417729 Mon Sep 17 00:00:00 2001 From: Chris Swithinbank Date: Fri, 9 Jun 2023 18:17:24 +0200 Subject: Fix disclosure caret rotation in sidebar sub-groups (#183) --- .changeset/chilled-tools-hammer.md | 5 +++++ packages/starlight/components/SidebarSublist.astro | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/chilled-tools-hammer.md diff --git a/.changeset/chilled-tools-hammer.md b/.changeset/chilled-tools-hammer.md new file mode 100644 index 00000000..32a84a26 --- /dev/null +++ b/.changeset/chilled-tools-hammer.md @@ -0,0 +1,5 @@ +--- +"@astrojs/starlight": patch +--- + +Fix disclosure caret rotation in sidebar sub-groups diff --git a/packages/starlight/components/SidebarSublist.astro b/packages/starlight/components/SidebarSublist.astro index 3925a91f..b7a3b41a 100644 --- a/packages/starlight/components/SidebarSublist.astro +++ b/packages/starlight/components/SidebarSublist.astro @@ -65,7 +65,7 @@ interface Props { :global([dir='rtl']) .caret { transform: rotateZ(180deg); } - [open] .caret { + [open] > summary .caret { transform: rotateZ(90deg); } -- cgit