Skip to content

Commit

Permalink
Replace br with paragraphs in "delete branch" dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiou87 committed Apr 9, 2024
1 parent 0ba1e72 commit 6811a64
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions app/src/ui/delete-branch/delete-branch-dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,14 @@ export class DeleteBranch extends React.Component<
ariaDescribedBy="delete-branch-confirmation-message delete-branch-confirmation-message-remote"
>
<DialogContent>
<p id="delete-branch-confirmation-message">
Delete branch <Ref>{this.props.branch.name}</Ref>?<br />
This action cannot be undone.
</p>
<div id="delete-branch-confirmation-message">
<p>
Delete remote branch <Ref>{this.props.branch.name}</Ref>?
</p>
<p>This action cannot be undone.</p>

{this.renderDeleteOnRemote()}
{this.renderDeleteOnRemote()}
</div>
</DialogContent>
<DialogFooter>
<OkCancelButtonGroup destructive={true} okButtonText="Delete" />
Expand Down

0 comments on commit 6811a64

Please sign in to comment.