about summary refs log tree commit diff
path: root/app/javascript/mastodon/features/following/index.js
diff options
context:
space:
mode:
authorJakub Mendyk <jakubmendyk.szkola+git@gmail.com>2018-08-29 01:19:58 +0200
committerEugen Rochko <eugen@zeonfederated.com>2018-08-29 01:19:58 +0200
commitceed1ebe5b308a95f9c167c93d3bc0976937fb58 (patch)
tree4c8410889ff06bcf5920f9645fb0024133b1b2f8 /app/javascript/mastodon/features/following/index.js
parent648d6d72471f6dbf42af78c0da2bb36b55010847 (diff)
Fix followers/follows layout issues from #8418 (#8505)
* Add alwaysShowScrollbar prop to ScrollableList

* Fix followers/follows layout issues from #8418
Diffstat (limited to 'app/javascript/mastodon/features/following/index.js')
-rw-r--r--app/javascript/mastodon/features/following/index.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/javascript/mastodon/features/following/index.js b/app/javascript/mastodon/features/following/index.js
index 95e786882..17bc7ec6e 100644
--- a/app/javascript/mastodon/features/following/index.js
+++ b/app/javascript/mastodon/features/following/index.js
@@ -66,13 +66,14 @@ export default class Following extends ImmutablePureComponent {
       <Column>
         <ColumnBackButton />
 
-        <HeaderContainer accountId={this.props.params.accountId} hideTabs />
-
         <ScrollableList
           scrollKey='following'
           hasMore={hasMore}
           onLoadMore={this.handleLoadMore}
           shouldUpdateScroll={shouldUpdateScroll}
+          prepend={<HeaderContainer accountId={this.props.params.accountId} hideTabs />}
+          alwaysPrepend
+          alwaysShowScrollbar
           emptyMessage={emptyMessage}
         >
           {accountIds.map(id =>