Skip to content

Commit a218ebe

Browse files
authored
fix(sidebar): align workspace header loading-state spacing with chip geometry (#5717)
1 parent cea1c89 commit a218ebe

1 file changed

Lines changed: 3 additions & 1 deletion

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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import {
55
ChevronDown,
66
Chip,
77
ChipConfirmModal,
8+
chipGeometryClass,
89
chipVariants,
910
cn,
1011
DropdownMenu,
@@ -644,7 +645,8 @@ function WorkspaceHeaderImpl({
644645
type='button'
645646
aria-label='Switch workspace'
646647
className={cn(
647-
'mx-0.5 h-[30px] items-center gap-2 rounded-lg px-2',
648+
chipGeometryClass,
649+
'mx-0.5',
648650
isCollapsed ? 'flex' : 'inline-flex min-w-0 max-w-full'
649651
)}
650652
title={activeWorkspace?.name}

0 commit comments

Comments
 (0)