Skip to content

armgit / alook

Public Imported from GitHub
0

Multi-Agent Collaboration for Team and Friends

fix(community): align public/private category labels in channel sidebar

Gus552fd5827e1b
diff --git a/src/web/src/components/community/sortable-category.tsx b/src/web/src/components/community/sortable-category.tsx
index 6a2412862..db4cbbf39 100644
--- a/src/web/src/components/community/sortable-category.tsx
+++ b/src/web/src/components/community/sortable-category.tsx
@@ -49,7 +49,9 @@ export function SortableCategory({ id: catDndId, name, open, onToggle, onAddChan
}
const headerInner = (
<>
- {isPrivate && <Lock className="size-3 shrink-0" />}
+ {/* Always reserve the lock's slot so public + private category names share
+ the same left edge (private shows the Lock, public a same-size spacer). */}
+ {isPrivate ? <Lock className="size-3 shrink-0" /> : <span className="size-3 shrink-0" aria-hidden="true" />}
<span className="flex-1 truncate text-left">{name}</span>
{onSettings && (
<button