Skip to content

Commit 7755d24

Browse files
committed
fix(web): animate locked workspace control
Mark the locked workspace span as a composer context control so FLIP measurements include it when nearby labels collapse.
1 parent aa54a6a commit 7755d24

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎apps/web/src/components/BranchToolbarEnvModeSelector.tsx‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,10 @@ export const BranchToolbarEnvModeSelector = memo(function BranchToolbarEnvModeSe
5050

5151
if (envLocked) {
5252
return (
53-
<span className="inline-flex h-7 shrink-0 items-center gap-1 border border-transparent px-[calc(--spacing(3)-1px)] text-sm font-medium text-muted-foreground/70 sm:h-6 sm:text-xs">
53+
<span
54+
className="inline-flex h-7 shrink-0 items-center gap-1 border border-transparent px-[calc(--spacing(3)-1px)] text-sm font-medium text-muted-foreground/70 sm:h-6 sm:text-xs"
55+
data-composer-context-control
56+
>
5457
{activeWorktreePath ? (
5558
<>
5659
<FolderGitIcon className="size-3" />

0 commit comments

Comments
 (0)