Skip to content

Commit 783f8af

Browse files
fix(code): prevent branch picker overflow with responsive shrink (#1906)
1 parent 93a6760 commit 783f8af

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

apps/code/src/renderer/features/git-interaction/components/BranchSelector.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ export function BranchSelector({
180180
disabled={isDisabled}
181181
aria-label="Branch"
182182
title={displayedBranch ?? undefined}
183+
className="min-w-0 max-w-[250px] shrink"
183184
>
184185
{showSpinner ? (
185186
<Spinner size={14} className="shrink-0 animate-spin" />

0 commit comments

Comments
 (0)