fix(app): keep launch selector with mobile controls
Hidden optional rows reserved space in the middle of the compact form. Move those spacers below the visible controls so worktree options push the launch selector down without separating it from the other selectors.
This commit is contained in:
@@ -1504,14 +1504,12 @@ function useNewWorkspaceFormStack(input: NewWorkspaceFormStackInput): ReactEleme
|
||||
<View testID="new-workspace-ref-picker-row" style={styles.formStack}>
|
||||
<FormRow>{projectControl}</FormRow>
|
||||
{hostControl ? <FormRow>{hostControl}</FormRow> : null}
|
||||
{/* Keep fixed row height when git-only controls are hidden. */}
|
||||
{isolationControl ? (
|
||||
<FormRow>{isolationControl}</FormRow>
|
||||
) : (
|
||||
<View style={styles.baseSpacer} />
|
||||
)}
|
||||
{baseControl ? <FormRow>{baseControl}</FormRow> : <View style={styles.baseSpacer} />}
|
||||
{isolationControl ? <FormRow>{isolationControl}</FormRow> : null}
|
||||
{baseControl ? <FormRow>{baseControl}</FormRow> : null}
|
||||
<FormRow>{launchControl}</FormRow>
|
||||
{/* Keep fixed stack height without separating the visible controls. */}
|
||||
{isolationControl ? null : <View style={styles.baseSpacer} />}
|
||||
{baseControl ? null : <View style={styles.baseSpacer} />}
|
||||
</View>
|
||||
) : (
|
||||
<View testID="new-workspace-ref-picker-row" style={styles.formStackDesktop}>
|
||||
|
||||
Reference in New Issue
Block a user