diff --git a/webviews/components/merge.tsx b/webviews/components/merge.tsx index 7abeaf75ca..de2796a75a 100644 --- a/webviews/components/merge.tsx +++ b/webviews/components/merge.tsx @@ -904,11 +904,11 @@ export const MergeStack = ({ pr }: { pr: PullRequest }) => { {confirmed ? <>

{confirmed.prompt}

{error ?

Unable to merge stack: {error}

: null} - + : <>
diff --git a/webviews/editorWebview/index.css b/webviews/editorWebview/index.css index 40ad888e38..abbea0dff9 100644 --- a/webviews/editorWebview/index.css +++ b/webviews/editorWebview/index.css @@ -639,6 +639,12 @@ button.input-box { justify-content: flex-end; } +/* Confirming a stack merge asks on a line of its own, so the button that confirms it starts where the merge button was rather than after the question. */ +#status-checks .stack-merge > p { + flex-basis: 100%; + margin: 0; +} + /* The merge method of an automatic merge is chosen at the end of the row, where the merge button is otherwise. */ .merge-footer .automerge-section .merge-select-container { margin-left: auto;