Another padding adjustment on mobile
This commit is contained in:
parent
7807bd9dd2
commit
86d311f45d
2 changed files with 12 additions and 11 deletions
|
@ -138,17 +138,15 @@ export default function ChannelsPage(props: Props) {
|
||||||
{!(channelUrls && channelUrls.length) && (
|
{!(channelUrls && channelUrls.length) && (
|
||||||
<React.Fragment>
|
<React.Fragment>
|
||||||
{!fetchingChannels ? (
|
{!fetchingChannels ? (
|
||||||
<section className="main--empty">
|
<Yrbl
|
||||||
<Yrbl
|
title={__('No channels')}
|
||||||
title={__('No channels')}
|
subtitle={__("You haven't created a channel yet. All of your beautiful channels will be listed here!")}
|
||||||
subtitle={__("You haven't created a channel yet. All of your beautiful channels will be listed here!")}
|
actions={
|
||||||
actions={
|
<div className="section__actions">
|
||||||
<div className="section__actions">
|
<Button button="primary" label={__('Create Channel')} navigate={`/$/${PAGES.CHANNEL_NEW}`} />
|
||||||
<Button button="primary" label={__('Create Channel')} navigate={`/$/${PAGES.CHANNEL_NEW}`} />
|
</div>
|
||||||
</div>
|
}
|
||||||
}
|
/>
|
||||||
/>
|
|
||||||
</section>
|
|
||||||
) : (
|
) : (
|
||||||
<section className="main--empty">
|
<section className="main--empty">
|
||||||
<Spinner delayed />
|
<Spinner delayed />
|
||||||
|
|
|
@ -828,5 +828,8 @@ $actions-z-index: 2;
|
||||||
}
|
}
|
||||||
@media (max-width: $breakpoint-small) {
|
@media (max-width: $breakpoint-small) {
|
||||||
padding: var(--spacing-s);
|
padding: var(--spacing-s);
|
||||||
|
.yrbl__wrap {
|
||||||
|
margin-top: var(--spacing-l);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue