diff --git a/frontend/src/components/repo/BranchSwitcher.tsx b/frontend/src/components/repo/BranchSwitcher.tsx index 6651e0c5..5c8fcaa6 100644 --- a/frontend/src/components/repo/BranchSwitcher.tsx +++ b/frontend/src/components/repo/BranchSwitcher.tsx @@ -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"] }); }, }); diff --git a/frontend/src/components/repo/RepoCard.tsx b/frontend/src/components/repo/RepoCard.tsx index 6232d9a8..54ea186a 100644 --- a/frontend/src/components/repo/RepoCard.tsx +++ b/frontend/src/components/repo/RepoCard.tsx @@ -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]" /> )} diff --git a/frontend/src/components/session/SessionDetailHeader.tsx b/frontend/src/components/session/SessionDetailHeader.tsx index dd56d2f9..2aad2d7b 100644 --- a/frontend/src/components/session/SessionDetailHeader.tsx +++ b/frontend/src/components/session/SessionDetailHeader.tsx @@ -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]" />