- {sidebarCollapsed && onToggleSidebar && (
-
+ ref={combinedRef}
+ data-testid="tab-strip"
+ className={cn(
+ "flex items-end gap-0.5 pt-px flex-1 min-w-0",
+ multirowTabs
+ ? "flex-wrap max-h-32 overflow-y-auto"
+ : "overflow-x-auto overflow-y-hidden scrollbar-none"
)}
+ >
{tabs.map(renderSortableTab)}
{/* Right scroll arrow -- flex sibling alongside the scroll container */}
+ {!multirowTabs && (