mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-24 09:57:27 +00:00
Fix missing background behind dismissable banner in web UI (#27479)
This commit is contained in:
parent
dfc8fcc6f0
commit
8f2dac0567
|
@ -45,24 +45,20 @@ class Statuses extends PureComponent {
|
||||||
const emptyMessage = <FormattedMessage id='empty_column.explore_statuses' defaultMessage='Nothing is trending right now. Check back later!' />;
|
const emptyMessage = <FormattedMessage id='empty_column.explore_statuses' defaultMessage='Nothing is trending right now. Check back later!' />;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<StatusList
|
||||||
<DismissableBanner id='explore/statuses'>
|
trackScroll
|
||||||
<FormattedMessage id='dismissable_banner.explore_statuses' defaultMessage='These are posts from across the social web that are gaining traction today. Newer posts with more boosts and favorites are ranked higher.' />
|
prepend={<DismissableBanner id='explore/statuses'><FormattedMessage id='dismissable_banner.explore_statuses' defaultMessage='These are posts from across the social web that are gaining traction today. Newer posts with more boosts and favorites are ranked higher.' /></DismissableBanner>}
|
||||||
</DismissableBanner>
|
alwaysPrepend
|
||||||
|
timelineId='explore'
|
||||||
<StatusList
|
statusIds={statusIds}
|
||||||
trackScroll
|
scrollKey='explore-statuses'
|
||||||
timelineId='explore'
|
hasMore={hasMore}
|
||||||
statusIds={statusIds}
|
isLoading={isLoading}
|
||||||
scrollKey='explore-statuses'
|
onLoadMore={this.handleLoadMore}
|
||||||
hasMore={hasMore}
|
emptyMessage={emptyMessage}
|
||||||
isLoading={isLoading}
|
bindToDocument={!multiColumn}
|
||||||
onLoadMore={this.handleLoadMore}
|
withCounters
|
||||||
emptyMessage={emptyMessage}
|
/>
|
||||||
bindToDocument={!multiColumn}
|
|
||||||
withCounters
|
|
||||||
/>
|
|
||||||
</>
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue