The best way to control Claude Code, Codex and more from any computer or phone
fix(web): branch picker keeps space below the last branch (#21159)
Afonso Ferreira committed
Oct 18, 2026 at 20:06 UTC
05d60554ec22bb7d9bb0d49b3b3d7f1771d6309b
1 file changed
+3
-3
apps/web/src/components/BranchPicker.tsx
+3
-3
@@ -190,8 +190,8 @@ export function BranchPicker({
190
/>
191
<div className="flex min-h-0 flex-1 flex-col overflow-hidden">
192
<ComboboxEmpty>No refs found.</ComboboxEmpty>
193
- <div className="relative min-h-0 w-full max-h-56 flex-1 overflow-hidden">
194
- <ComboboxListVirtualized className="size-full min-w-0">
193
+ <div className="relative flex min-h-0 w-full max-h-56 flex-1 flex-col overflow-hidden">
194
+ <ComboboxListVirtualized className="flex size-full min-h-0 min-w-0 flex-col">
195
<LegendList<string>
196
ref={branchListRef}
197
data={filteredItems}
@@ -210,7 +210,7 @@ export function BranchPicker({
210
maybeFetchNextBranchPage();
211
}}
212
className={cn(
213
- "max-h-56 scrollbar-gutter-stable overflow-x-hidden overscroll-y-contain ps-1 pe-0 pt-2 pb-1",
213
+ "min-h-0 max-h-56 scrollbar-gutter-stable overflow-x-hidden overscroll-y-contain ps-1 pe-0 py-2",
214
getVirtualizedScrollFadeClassName({
215
top: showTopBranchScrollFade,
216
bottom: showBottomBranchScrollFade,