diff --git a/src/components/git/BranchManager.tsx b/src/components/git/BranchManager.tsx index 303ff5d1..5fb91820 100644 --- a/src/components/git/BranchManager.tsx +++ b/src/components/git/BranchManager.tsx @@ -335,59 +335,57 @@ export function BranchManager({ projectId, currentBranch, onBranchChange }: Bran ) : ( - -
- {/* Local Branches */} - {localBranches.length > 0 && ( -
-
- Local Branches -
-
- {localBranches.map((branch) => ( - - ))} -
+
+ {/* Local Branches */} + {localBranches.length > 0 && ( +
+
+ Local Branches
- )} +
+ {localBranches.map((branch) => ( + + ))} +
+
+ )} - {/* Remote Branches */} - {remoteBranches.length > 0 && ( -
-
- Remote Branches -
-
- {remoteBranches.map((branch) => ( - - ))} -
+ {/* Remote Branches */} + {remoteBranches.length > 0 && ( +
+
+ Remote Branches
- )} +
+ {remoteBranches.map((branch) => ( + + ))} +
+
+ )} - {/* Empty state */} - {localBranches.length === 0 && remoteBranches.length === 0 && ( -
- -

No branches found

-
- )} -
- + {/* Empty state */} + {localBranches.length === 0 && remoteBranches.length === 0 && ( +
+ +

No branches found

+
+ )} +
)}
); diff --git a/src/components/git/GitManagementDialog.tsx b/src/components/git/GitManagementDialog.tsx index d29d6d48..4c26875d 100644 --- a/src/components/git/GitManagementDialog.tsx +++ b/src/components/git/GitManagementDialog.tsx @@ -45,16 +45,16 @@ export function GitManagementDialog({ <> {children && {children}} - - + + Git Management - -
+ +
{/* Branches Tab */} - + {/* Changes Tab */} - + {/* Compare Tab */} - +