Skip to content

Commit 71dda03

Browse files
Merge remote-tracking branch 'origin/feat/cred-group-pull-to-org' into feat/cred-group-pull-to-org
2 parents 41fd1c9 + d15fad3 commit 71dda03

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

  • apps/sim/app/workspace/[workspaceId]/w/components/sidebar/components/workspace-header

apps/sim/app/workspace/[workspaceId]/w/components/sidebar/components/workspace-header/workspace-header.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -583,17 +583,16 @@ function WorkspaceHeaderImpl({
583583
}}
584584
/>
585585
)}
586-
{/* The gaps to the search field above and the rule below are the list's
587-
own padding, so at rest rows sit where they always did, and while
588-
scrolling they run through the gap beneath the edge fade. */}
586+
{/** The list owns the gap below search, when shown, and above the separator. */}
589587
<div
590588
ref={(node) => {
591589
workspaceListRef.current = node
592590
setWorkspaceListElement(node)
593591
}}
594592
className={cn(
595593
scrollFadeClass,
596-
'-mx-1.5 flex max-h-[200px] flex-col gap-0.5 overflow-y-auto px-1.5 pt-1.5 pb-1'
594+
'-mx-1.5 flex max-h-[200px] flex-col gap-0.5 overflow-y-auto px-1.5 pb-1',
595+
showSearch && 'pt-1.5'
597596
)}
598597
{...scrollFadeAttributes(listEdges)}
599598
>

0 commit comments

Comments
 (0)