fix: space sidebar separators vanishing when scrollable — add shrink-0

This commit is contained in:
Jannis Braun
2026-03-12 22:28:39 +01:00
parent 143c4172c6
commit 63e616ab0a
@@ -1257,7 +1257,7 @@ export function SpaceSidebar() {
hasUnread={hasDmUnread}
/>
<div className="w-8 h-[2px] bg-white/[0.06] rounded-full mb-1.5" />
<div className="w-8 h-[2px] bg-white/[0.06] rounded-full mb-1.5 shrink-0" />
{/* Unified space list (ordered by user layout) */}
{resolvedLayout.map((item) => {
@@ -1322,7 +1322,7 @@ export function SpaceSidebar() {
);
})}
<div className="w-8 h-[2px] bg-white/[0.06] rounded-full mb-1.5" />
<div className="w-8 h-[2px] bg-white/[0.06] rounded-full mb-1.5 shrink-0" />
<SidebarItem
id="add-space"