diff --git a/src/renderer/src/components/sidebar/WorktreeCardHoverIdentityHeader.tsx b/src/renderer/src/components/sidebar/WorktreeCardHoverIdentityHeader.tsx index 4339864a64b..613b37ba597 100644 --- a/src/renderer/src/components/sidebar/WorktreeCardHoverIdentityHeader.tsx +++ b/src/renderer/src/components/sidebar/WorktreeCardHoverIdentityHeader.tsx @@ -40,11 +40,11 @@ export function WorktreeCardHoverIdentityHeader({ editingPresentation="field" wrapTitle className={cn( - 'text-[13px] font-semibold leading-snug text-foreground', + 'cursor-text text-[13px] font-semibold leading-snug text-foreground', identityOrder === 'branch-first' && 'mt-1' )} editingClassName={cn( - '-mx-1.5 w-[calc(100%+0.75rem)] text-[13px] leading-snug', + '-mx-1.5 w-[calc(100%+0.75rem)] cursor-text text-[13px] leading-snug', identityOrder === 'branch-first' && 'mt-1' )} onEditingChange={onWorkspaceTitleEditingChange} diff --git a/src/renderer/src/components/sidebar/WorktreeCardMeta.test.tsx b/src/renderer/src/components/sidebar/WorktreeCardMeta.test.tsx index a358918c2e1..2098cce6e1b 100644 --- a/src/renderer/src/components/sidebar/WorktreeCardMeta.test.tsx +++ b/src/renderer/src/components/sidebar/WorktreeCardMeta.test.tsx @@ -106,6 +106,7 @@ describe('WorktreeCardDetailsHover', () => { expect(identityHeaderTag).not.toContain('border-l') expect(identityHeaderTag).not.toContain('pl-2') expect(markup).toContain('data-worktree-title-inline-rename=""') + expect(markup).toContain('cursor-text text-[13px] font-semibold') expect(markup).toContain('Fix stale GH PR') expect(markup).toContain('border-l border-border/70 pl-3') })