FollowRecommendations: fix transparent background

merge-requests/692/head^2
Alex Gleason 2021-10-08 11:59:59 -05:00
rodzic b47e7a3197
commit 4e18d7e505
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
2 zmienionych plików z 7 dodań i 2 usunięć

Wyświetl plik

@ -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>

Wyświetl plik

@ -858,6 +858,10 @@
.column-list { .column-list {
position: relative; position: relative;
&__empty-message {
padding: 0 20px;
}
} }
.column-loading { .column-loading {