mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 17:33:14 +01:00
add margins to button lists
This commit is contained in:
parent
a8120867b9
commit
26442c9230
@ -74,9 +74,9 @@ let AclButton = React.createClass({
|
||||
return (
|
||||
<ModalWrapper
|
||||
button={
|
||||
<div className={shouldDisplay ? 'btn btn-default btn-sm' : 'hidden'}>
|
||||
<button className={shouldDisplay ? 'btn btn-default btn-sm' : 'hidden'}>
|
||||
{this.props.action.toUpperCase()}
|
||||
</div>
|
||||
</button>
|
||||
}
|
||||
handleSuccess={ aclProps.handleSuccess }
|
||||
title={ aclProps.title }
|
||||
|
@ -102,7 +102,7 @@ let PieceListBulkModal = React.createClass({
|
||||
availableAcls={availableAcls}
|
||||
editions={selectedEditions}
|
||||
handleSuccess={this.handleSuccess}
|
||||
className="text-center"/>
|
||||
className="text-center ascribe-button-list"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -253,7 +253,7 @@ let EditionSummary = React.createClass({
|
||||
<Row>
|
||||
<Col md={12}>
|
||||
<AclButtonList
|
||||
className="text-center"
|
||||
className="text-center ascribe-button-list"
|
||||
availableAcls={this.props.edition.acl}
|
||||
editions={[this.props.edition]}
|
||||
handleSuccess={this.handleSuccess} />
|
||||
@ -577,14 +577,14 @@ let CoaDetails = React.createClass({
|
||||
if (this.state.coa.url_safe) {
|
||||
return (
|
||||
<div>
|
||||
<p className="text-center">
|
||||
<Button bsSize="xsmall" href={this.state.coa.url_safe} target="_blank">
|
||||
<p className="text-center ascribe-button-list">
|
||||
<button className="btn btn-default btn-xs" href={this.state.coa.url_safe} target="_blank">
|
||||
Download <Glyphicon glyph="cloud-download"/>
|
||||
</Button>
|
||||
</button>
|
||||
<Link to="coa_verify">
|
||||
<Button bsSize="xsmall">
|
||||
<button className="btn btn-default btn-xs">
|
||||
Verify <Glyphicon glyph="check"/>
|
||||
</Button>
|
||||
</button>
|
||||
</Link>
|
||||
|
||||
</p>
|
||||
|
@ -242,3 +242,7 @@ body {
|
||||
.col-bottom {
|
||||
vertical-align: bottom;
|
||||
}
|
||||
|
||||
.ascribe-button-list button {
|
||||
margin-right: 1em;
|
||||
}
|
Loading…
Reference in New Issue
Block a user