Merge pull request #2001 from lbryio/channel-alignment

better channel actions alignment
This commit is contained in:
Sean Yesmunt 2018-10-05 14:51:48 -04:00 committed by GitHub
commit 3f0bfa3ca5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 9 deletions

View file

@ -85,12 +85,12 @@ class ChannelPage extends React.PureComponent<Props> {
{name} {name}
{fetching && <BusyIndicator />} {fetching && <BusyIndicator />}
</h1> </h1>
<div className="card__actions card__actions--no-margin">
<SubscribeButton uri={permanentUrl} channelName={name} />
<ViewOnWebButton claimId={claimId} claimName={name} />
</div>
</section> </section>
<section>{contentList}</section> <div className="card__actions">
<SubscribeButton uri={permanentUrl} channelName={name} />
<ViewOnWebButton claimId={claimId} claimName={name} />
</div>
<section className="card__content">{contentList}</section>
{(!fetching || (claimsInChannel && claimsInChannel.length)) && {(!fetching || (claimsInChannel && claimsInChannel.length)) &&
totalPages > 1 && ( totalPages > 1 && (
<FormRow verticallyCentered centered> <FormRow verticallyCentered centered>

View file

@ -42,8 +42,8 @@ class ShowPage extends React.PureComponent<Props> {
if ((isResolvingUri && !claim) || !claim) { if ((isResolvingUri && !claim) || !claim) {
const { claimName } = parseURI(uri); const { claimName } = parseURI(uri);
innerContent = ( innerContent = (
<Page> <Page notContained>
<section className="card"> <section>
<h1>{claimName}</h1> <h1>{claimName}</h1>
<div className="card__content"> <div className="card__content">
{isResolvingUri && <BusyIndicator message={__('Loading decentralized data...')} />} {isResolvingUri && <BusyIndicator message={__('Loading decentralized data...')} />}

View file

@ -217,8 +217,7 @@
} }
.card__channel-info--large { .card__channel-info--large {
padding-top: 0; padding: 0;
padding-bottom: $spacing-vertical * 2/3;
} }
.card__content { .card__content {