about summary refs log tree commit diff
path: root/app/javascript/mastodon/features/home_timeline/index.js
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2020-01-25 19:40:36 +0100
committerEugen Rochko <eugen@zeonfederated.com>2020-01-25 19:40:36 +0100
commit90b13ffd009a431dbe98c37bc92ee59a6f0535f2 (patch)
tree1e38a3c9a1a8b9422b6f3e8528e486699a1ef164 /app/javascript/mastodon/features/home_timeline/index.js
parentc06d2ff43718af5940987e219379094f1a2de180 (diff)
Fix “new items glow” being displayed above settings and announcements (#12958)
Diffstat (limited to 'app/javascript/mastodon/features/home_timeline/index.js')
-rw-r--r--app/javascript/mastodon/features/home_timeline/index.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/javascript/mastodon/features/home_timeline/index.js b/app/javascript/mastodon/features/home_timeline/index.js
index c7de8c9cb..2bad22bc1 100644
--- a/app/javascript/mastodon/features/home_timeline/index.js
+++ b/app/javascript/mastodon/features/home_timeline/index.js
@@ -143,12 +143,11 @@ class HomeTimeline extends React.PureComponent {
           pinned={pinned}
           multiColumn={multiColumn}
           extraButton={announcementsButton}
+          appendContent={hasAnnouncements && showAnnouncements && <AnnouncementsContainer />}
         >
           <ColumnSettingsContainer />
         </ColumnHeader>
 
-        {hasAnnouncements && showAnnouncements && <AnnouncementsContainer />}
-
         <StatusListContainer
           trackScroll={!pinned}
           scrollKey={`home_timeline-${columnId}`}