Make branch switcher dropdown scrollable on mobile

This commit is contained in:
Chris Scott committed 2025-12-26 16:37:21 -05:00
1 parent d701d07a5b
commit ae338bb576
1 file changed
+1 -1
@@ -83,7 +83,7 @@ export function BranchSwitcher({ repoId, currentBranch, isWorktree, repoUrl, rep
{!iconOnly && <span className="truncate">{activeBranch}</span>}
</Button>
</DropdownMenuTrigger>
<DropdownMenuContent sideOffset={0} align="end" className="bg-card border-border min-w-[200px]">
<DropdownMenuContent sideOffset={0} align="end" className="bg-card border-border min-w-[200px] max-w-[95vw] sm:max-w-none max-h-[70vh] overflow-y-auto">
{isWorktree ? (
<>
<DropdownMenuItem disabled className="text-muted-foreground">