Skip to content
TypeScript

fix(web): collapsed projects no longer leave a border stub in the legacy sidebar (#18314)

Dennis Bräu626a4cbfcfb7
diff --git a/apps/web/src/components/LegacySidebar.tsx b/apps/web/src/components/LegacySidebar.tsx
index 884977f6cb5..654a01d8410 100644
--- a/apps/web/src/components/LegacySidebar.tsx
+++ b/apps/web/src/components/LegacySidebar.tsx
@@ -987,7 +987,7 @@ const SidebarProjectThreadList = memo(function SidebarProjectThreadList(
return (
<SidebarMenuSub
ref={attachThreadListAutoAnimateRef}
- className="mx-0.5 my-0 w-full translate-x-0 overflow-hidden sm:mx-1"
+ className="mx-0.5 my-0 w-full translate-x-0 overflow-hidden empty:hidden sm:mx-1"
>
{shouldShowThreadPanel && showEmptyThreadState ? (
<SidebarMenuSubItem className="w-full" data-thread-selection-safe>