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() {
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>

Wyświetl plik

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