From 7dd37936b4daf95f4919f8abc7e2231c06f38fc4 Mon Sep 17 00:00:00 2001 From: Xin Wang Date: Fri, 5 Jun 2026 14:49:09 +0800 Subject: [PATCH] Enhance Sidebar component with improved animations and transitions Updated the Sidebar component to include smoother transitions for width, padding, and background color changes. Adjusted layout styles for better responsiveness and visual appeal, ensuring a more cohesive user experience when toggling the sidebar. Refactored navigation button styles for consistency and added transition effects to icon and label visibility based on the collapsed state. --- src/components/layout/Sidebar.tsx | 51 ++++++++++++++++++++++--------- 1 file changed, 36 insertions(+), 15 deletions(-) diff --git a/src/components/layout/Sidebar.tsx b/src/components/layout/Sidebar.tsx index 133d17f..39a404b 100644 --- a/src/components/layout/Sidebar.tsx +++ b/src/components/layout/Sidebar.tsx @@ -55,11 +55,11 @@ export function Sidebar({ return (