From 8202c615b4103765c206438ae75029fa03f1c835 Mon Sep 17 00:00:00 2001 From: FourWindff Date: Mon, 25 May 2026 08:46:44 +0800 Subject: [PATCH 1/2] fix(new-task): prevent base-branch label stretch from opening dropdown The label has a `for` attribute linking it to the BranchCombobox input. In a flex-direction: column container, flex items default to align-self: stretch, so clicking the empty space to the right of the "Base branch" text still activated the label and focused the input, triggering the dropdown. Add `align-self: flex-start` so the label only wraps its text content. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/components/NewTaskDialog.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/NewTaskDialog.tsx b/src/components/NewTaskDialog.tsx index 0661eb99..5b87bc09 100644 --- a/src/components/NewTaskDialog.tsx +++ b/src/components/NewTaskDialog.tsx @@ -815,7 +815,10 @@ export function NewTaskDialog(props: NewTaskDialogProps) { > {/* On a load failure the combobox is unmounted, so only point the label at it while it is actually rendered. */} -