Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/components/NewTaskDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,7 @@ export function NewTaskDialog(props: NewTaskDialogProps) {
>
<form
ref={formRef}
class="new-task-dialog-form"
onSubmit={handleSubmit}
style={{
display: 'flex',
Expand Down Expand Up @@ -815,7 +816,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. */}
<label for={branchesError() ? undefined : branchInputId} style={sectionLabelStyle}>
<label
for={branchesError() ? undefined : branchInputId}
style={{ ...sectionLabelStyle, 'align-self': 'flex-start' }}
>
{gitIsolation() === 'worktree' ? 'Base branch' : 'Branch'}
<Show when={branchesLoading()}>
{' '}
Expand Down
8 changes: 8 additions & 0 deletions src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -1366,6 +1366,14 @@ textarea::placeholder {
animation: slideUp 0.22s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.new-task-dialog-form {
user-select: none;
}

.new-task-dialog-form :is(input, textarea) {
user-select: text;
}

.file-row:hover {
background: color-mix(in srgb, var(--accent) 8%, var(--bg-hover));
}
Expand Down
Loading