FollowRecommendations: fix transparent background
This commit is contained in:
parent
b47e7a3197
commit
4e18d7e505
|
@ -96,10 +96,11 @@ class HomeTimeline extends React.PureComponent {
|
|||
render() {
|
||||
const { intl, siteTitle, isLoading, isEmpty, features } = this.props;
|
||||
const { done } = this.state;
|
||||
const showSuggestions = features.suggestions && isEmpty && !isLoading && !done;
|
||||
|
||||
return (
|
||||
<Column label={intl.formatMessage(messages.title)} transparent>
|
||||
{(features.suggestions && isEmpty && !isLoading && !done) ? (
|
||||
<Column label={intl.formatMessage(messages.title)} transparent={!showSuggestions}>
|
||||
{showSuggestions ? (
|
||||
<BundleContainer fetchComponent={FollowRecommendationsContainer}>
|
||||
{Component => <Component onDone={this.handleDone} />}
|
||||
</BundleContainer>
|
||||
|
|
|
@ -858,6 +858,10 @@
|
|||
|
||||
.column-list {
|
||||
position: relative;
|
||||
|
||||
&__empty-message {
|
||||
padding: 0 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.column-loading {
|
||||
|
|
Loading…
Reference in New Issue