From 5a65350400f0b5f6c726a1187458ca3d91f4e38e Mon Sep 17 00:00:00 2001 From: johnnyjoygh Date: Wed, 2 Sep 2026 20:45:43 +0800 Subject: [PATCH] fix(sidebar): flatten account footer surface --- web/src/components/AppSidebar/AppSidebar.tsx | 3 +-- .../components/AppSidebar/sidebar-layout.ts | 27 +++++++++---------- web/src/components/UserMenu.tsx | 5 ++-- web/tests/app-sidebar-logo.test.tsx | 9 +++++-- web/tests/user-menu.test.tsx | 21 ++++++++++++--- 5 files changed, 41 insertions(+), 24 deletions(-) diff --git a/web/src/components/AppSidebar/AppSidebar.tsx b/web/src/components/AppSidebar/AppSidebar.tsx index 7bea8109..261b980e 100644 --- a/web/src/components/AppSidebar/AppSidebar.tsx +++ b/web/src/components/AppSidebar/AppSidebar.tsx @@ -55,7 +55,6 @@ import SidebarRow, { SIDEBAR_ROW_CLASSES, SIDEBAR_ROW_FOCUS_CLASSES, SidebarRowI import SidebarSection, { SIDEBAR_SECTION_STACK_CLASSES } from "./SidebarSection"; import SpaceSwitcher from "./SpaceSwitcher"; import { - SIDEBAR_FOOTER_CLASSES, SIDEBAR_LEADING_SLOT_CLASSES, SIDEBAR_NAV_LEADING_SLOT_CLASSES, SIDEBAR_RAIL_CLASSES, @@ -576,7 +575,7 @@ const AppSidebar = ({ className }: { className?: string }) => {
-