Improve branch switcher layout consistency across components

This commit is contained in:
Chris Scott committed 2025-12-12 19:08:34 -05:00
1 parent 400f62bbee
commit e4a27e53e5
4 files changed
+4 -1

No files matched your search

@@ -47,6 +47,7 @@ export function BranchSwitcher({ repoId, currentBranch, isWorktree, repoUrl, rep
onSuccess: () => {
queryClient.invalidateQueries({ queryKey: ["repo", repoId] });
queryClient.invalidateQueries({ queryKey: ["branches", repoId] });
queryClient.invalidateQueries({ queryKey: ["repos"] });
},
});
+1 -1
View File
@@ -123,7 +123,7 @@ export function RepoCard({
isWorktree={repo.isWorktree}
repoUrl={repo.repoUrl}
repoLocalPath={repo.localPath}
className="h-10 sm:h-9 min-w-10"
className="h-10 sm:h-9 w-[140px] max-w-[140px]"
/>
)}
@@ -158,6 +158,7 @@ export function SessionDetailHeader({
isWorktree={repo.isWorktree}
repoUrl={repo.repoUrl}
repoLocalPath={repo.localPath}
className="max-w-[80px] sm:w-[140px] sm:max-w-[140px]"
/>
<div className="flex items-center gap-1 sm:gap-2">
<div