mirror of
https://github.com/stablyai/orca.git
synced 2026-11-19 04:23:57 +00:00
Retain branch before card body mounts and allow conflict rows to grow
This commit is contained in:
@@ -134,7 +134,7 @@ const WorktreeSection = memo(
|
||||
behind={remote?.behind}
|
||||
changeCount={entries.length}
|
||||
expanded={isExpanded}
|
||||
showBranchInHeader={!bodyShown}
|
||||
showBranchInHeader={!bodyShown || !bodyMounted}
|
||||
actions={
|
||||
isExpanded && (!bodyShown || !bodyMounted) ? (
|
||||
<SourceControlHeaderOverflowMenu worktree={owner.worktree} />
|
||||
|
||||
@@ -34,7 +34,10 @@ export function SectionHeader({
|
||||
type="button"
|
||||
variant="ghost"
|
||||
size={compact ? 'chip' : 'xs'}
|
||||
className={cn('min-w-0 flex-1 justify-start text-left')}
|
||||
className={cn(
|
||||
'h-auto min-w-0 flex-1 justify-start text-left',
|
||||
compact ? 'min-h-4' : 'min-h-6'
|
||||
)}
|
||||
onClick={onToggle}
|
||||
aria-expanded={!isCollapsed}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user