feat(webui): refine sidebar hierarchy and selection feedback

This commit is contained in:
chengyongru authored and chengyongru committed 2026-09-10 13:34:56 +08:00
1 parent da749b4a87
commit 39a817e72d
8 files changed
+220 -147

No files matched your search

+1 -2
View File
@@ -204,7 +204,7 @@ export function Sidebar(props: SidebarProps) {
activeId={activeActionId}
scope="actions"
className={cn(
"relative gap-0.5 pb-3",
"relative gap-0.5 pb-1",
collapsed ? "flex w-14 flex-col items-center px-0" : "flex flex-col px-2",
)}
>
@@ -265,7 +265,6 @@ export function Sidebar(props: SidebarProps) {
<div
className={cn(
"flex min-h-0 min-w-0 flex-1 flex-col overflow-hidden transition-opacity duration-200",
props.onExpand && !collapsed && "me-3",
collapsed && "pointer-events-none opacity-0",
)}
>