fix(webui): refine sidebar icon consistency and spacing

This commit is contained in:
chengyongru authored and chengyongru committed 2026-10-22 22:37:40 +08:00
1 parent 28d058bab5
commit 3dfcb5de5b
3 files changed
+5 -9

No files matched your search

+1 -5
View File
@@ -831,7 +831,6 @@ export const ChatList = memo(function ChatList({
const tabPartiallySelected = !tabSelected && tabDeleteKeys.some((key) => (
selectedDeleteKeys.has(key)
));
const projectMode = group.kind === "project";
if (isWorkbenchTab) {
return (
@@ -1042,10 +1041,7 @@ export const ChatList = memo(function ChatList({
partial={tabPartiallySelected}
/>
) : null}
<span className={cn(
"relative flex min-w-0 flex-1 items-center overflow-hidden",
projectMode ? "gap-2" : "gap-1.5",
)}>
<span className="relative flex min-w-0 flex-1 items-center gap-2 overflow-hidden">
<SidebarSessionHandle handle={s.handle} />
<span className="min-w-0 flex-1 truncate font-normal leading-5">
{title}