fix spacing on publish page when user has no lbc
This commit is contained in:
parent
4cc2d00f19
commit
63092ce7da
2 changed files with 32 additions and 29 deletions
|
@ -23,8 +23,9 @@ function PublishPage(props: Props) {
|
|||
|
||||
return (
|
||||
<Page>
|
||||
{balance === 0 && (
|
||||
{balance === 0 ? (
|
||||
<Fragment>
|
||||
<div className="section">
|
||||
<Yrbl
|
||||
title={__("You can't publish things quite yet")}
|
||||
subtitle={
|
||||
|
@ -48,10 +49,14 @@ function PublishPage(props: Props) {
|
|||
</Fragment>
|
||||
}
|
||||
/>
|
||||
</div>
|
||||
<div className="section">
|
||||
<RewardAuthIntro />
|
||||
</div>
|
||||
</Fragment>
|
||||
)}
|
||||
) : (
|
||||
<PublishForm scrollToTop={scrollToTop} disabled={balance === 0} />
|
||||
)}
|
||||
</Page>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -201,9 +201,7 @@
|
|||
.card__body {
|
||||
padding: var(--spacing-large);
|
||||
border-top: 1px solid var(--color-border);
|
||||
&:not(.card__body--no-title) {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
&.card__body--table {
|
||||
padding: 0;
|
||||
border-top: 1px solid var(--color-border);
|
||||
|
|
Loading…
Reference in a new issue