mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 12:24:30 +01:00
Make branch switcher dropdown scrollable on mobile
This commit is contained in:
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">
|
||||
|
||||
Reference in new issue
Block a user