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:
parent
8dc0470007
commit
a9f0a46fbd
@ -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>
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user