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