diff --git a/src/renderer/component/publishForm/view.jsx b/src/renderer/component/publishForm/view.jsx index 522b3efbb..4a5a0f054 100644 --- a/src/renderer/component/publishForm/view.jsx +++ b/src/renderer/component/publishForm/view.jsx @@ -251,23 +251,15 @@ class PublishForm extends React.PureComponent { renderFormErrors() { const { name, nameError, title, bid, bidError, tosAccepted } = this.props; - if (nameError || bidError) { - // There will be inline errors if either of these exist - // These are just extra help at the bottom of the screen - // There could be multiple bid errors, so just duplicate it at the bottom - return ( -
- {nameError &&
{__('The URL you created is not valid.')}
} - {bidError &&
{bidError}
} -
- ); - } - + // These are extra help + // If there is an error it will be presented as an inline error as well return ( -
+
{!title &&
{__('A title is required')}
} {!name &&
{__('A URL is required')}
} + {name && nameError &&
{__('The URL you created is not valid.')}
} {!bid &&
{__('A bid amount is required')}
} + {bid && bidError &&
{bidError}
} {!tosAccepted &&
{__('You must agree to the terms of service')}
}
); diff --git a/src/renderer/scss/component/_card.scss b/src/renderer/scss/component/_card.scss index 71495864d..8468ac8d9 100644 --- a/src/renderer/scss/component/_card.scss +++ b/src/renderer/scss/component/_card.scss @@ -150,10 +150,6 @@ padding-top: $spacing-vertical * 1/3; } -.card__subtitle--block { - display: block; -} - .card__meta { color: var(--color-help); font-size: 14px;