Merge pull request #2001 from lbryio/channel-alignment
better channel actions alignment
This commit is contained in:
commit
3f0bfa3ca5
3 changed files with 8 additions and 9 deletions
|
@ -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>
|
||||||
|
|
|
@ -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...')} />}
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Reference in a new issue