fix(git): cap fetch/pull remotes dropdown size and reposition

Constrain width and add scroll so long remote URL lists stay inside the
dropdown, and anchor it to the left of the trigger to match the chat
input model picker.
This commit is contained in:
Bohdan Triapitsyn
2026-04-30 22:54:37 +03:00
parent 63da6e6292
commit 41cc8e556f
@@ -150,7 +150,7 @@ export const SyncActions: React.FC<SyncActionsProps> = ({
</TooltipTrigger>
<TooltipContent sideOffset={8}>{tooltipText}</TooltipContent>
</Tooltip>
<DropdownMenuContent align="start" className="min-w-[200px]">
<DropdownMenuContent align="start" alignOffset={-40} className="w-[min(360px,calc(100vw-2rem))] max-h-[320px] overflow-y-auto">
{remotes.map((remote) => (
<DropdownMenuItem
key={remote.name}