Skip to content

Commit

Permalink
UI tweak btn group
Browse files Browse the repository at this point in the history
  • Loading branch information
diegogurpegui committed May 23, 2020
1 parent 4b77c9b commit aa643e0
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions src/web/tx/CreateTxScreen.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -278,14 +278,16 @@ class CreateTxScreen extends Component {
<div className="col-sm">
<h2>
<div className="float-right">
<Button btnClass="primary" size="sm" onClick={this.onAddOutput}>
<FontAwesomeIcon icon="plus-circle" className="mr-1" />
Add new output
</Button>
<Button btnClass="primary" size="sm" onClick={this.onAddOpReturn} disabled={outputsOpReturn > 0}>
<FontAwesomeIcon icon="plus-circle" className="mr-1" />
Add OP_RETURN
</Button>
<div class="btn-group" role="group">
<Button btnClass="primary" size="sm" onClick={this.onAddOutput}>
<FontAwesomeIcon icon="plus-circle" className="mr-1" />
Add new output
</Button>
<Button btnClass="primary" size="sm" onClick={this.onAddOpReturn} disabled={outputsOpReturn > 0}>
<FontAwesomeIcon icon="plus-circle" className="mr-1" />
Add OP_RETURN
</Button>
</div>
</div>
Outputs
</h2>
Expand Down

0 comments on commit aa643e0

Please sign in to comment.