1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 09:23:13 +01:00

Move social share buttons to left of download button to accommodate for embed button

This commit is contained in:
Brett Sun 2015-11-10 10:29:37 +01:00
parent 8dc0470007
commit a9f0a46fbd
2 changed files with 9 additions and 3 deletions

View File

@ -90,6 +90,11 @@ let MediaContainer = React.createClass({
extraData={extraData}
encodingStatus={this.props.content.digital_work.isEncoding} />
<p className="text-center">
<span className="ascribe-social-button-list">
<FacebookShareButton />
<TwitterShareButton />
</span>
<AclProxy
show={['video', 'audio', 'image'].indexOf(mimetype) === -1 || this.props.content.acl.acl_download}
aclObject={this.props.content.acl}
@ -98,8 +103,6 @@ let MediaContainer = React.createClass({
Download <Glyphicon glyph="cloud-download"/>
</Button>
</AclProxy>
<FacebookShareButton />
<TwitterShareButton />
{embed}
</p>
</div>

View File

@ -1,7 +1,10 @@
.ascribe-social-button-list {
margin-right: 10px;
}
.btn-ascribe-social {
height: 20px;
width: 56px;
box-sizing: content-box; /* We want to ignore padding in these calculations as we use the sdk buttons' height and width */
margin-left: 5px;
padding: 1px 0;
}