From 6b556292202a0dec6ef691a27e3a1f111a8c7479 Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 20 Feb 2024 18:24:25 +0100 Subject: [PATCH] feat: Polish sidebar (#332) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Center chevron indicator * Add some smooth category expand/collapse transitions * Allow ∞ expand/collapse * No auto collapse * Adjust spacings * Adjust spacings 2️⃣ * Adjust spacings 3️⃣ --- src/components/navigation/Navigation.tsx | 2 +- .../navigation/NavigationCategory.tsx | 42 +++++++++---------- 2 files changed, 21 insertions(+), 23 deletions(-) diff --git a/src/components/navigation/Navigation.tsx b/src/components/navigation/Navigation.tsx index aa97f49b..46969f2e 100644 --- a/src/components/navigation/Navigation.tsx +++ b/src/components/navigation/Navigation.tsx @@ -11,7 +11,7 @@ type Props = { export function Navigation({ className }: Props) { return (