[Glitch] Fix followers/follows layout issues from #8418
Port 816384cf32 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
			
			
This commit is contained in:
		
							parent
							
								
									b67c436220
								
							
						
					
					
						commit
						1d58c95a8b
					
				
					 2 changed files with 6 additions and 4 deletions
				
			
		|  | @ -98,13 +98,14 @@ export default class Followers extends ImmutablePureComponent { | ||||||
|       <Column ref={this.setRef}> |       <Column ref={this.setRef}> | ||||||
|         <ProfileColumnHeader onClick={this.handleHeaderClick} /> |         <ProfileColumnHeader onClick={this.handleHeaderClick} /> | ||||||
| 
 | 
 | ||||||
|         <HeaderContainer accountId={this.props.params.accountId} hideTabs /> |  | ||||||
| 
 |  | ||||||
|         <ScrollableList |         <ScrollableList | ||||||
|           scrollKey='followers' |           scrollKey='followers' | ||||||
|           hasMore={hasMore} |           hasMore={hasMore} | ||||||
|           onLoadMore={this.handleLoadMore} |           onLoadMore={this.handleLoadMore} | ||||||
|           shouldUpdateScroll={this.shouldUpdateScroll} |           shouldUpdateScroll={this.shouldUpdateScroll} | ||||||
|  |           prepend={<HeaderContainer accountId={this.props.params.accountId} hideTabs />} | ||||||
|  |           alwaysPrepend | ||||||
|  |           alwaysShowScrollbar | ||||||
|           emptyMessage={emptyMessage} |           emptyMessage={emptyMessage} | ||||||
|         > |         > | ||||||
|           {accountIds.map(id => |           {accountIds.map(id => | ||||||
|  |  | ||||||
|  | @ -93,13 +93,14 @@ export default class Following extends ImmutablePureComponent { | ||||||
|       <Column ref={this.setRef}> |       <Column ref={this.setRef}> | ||||||
|         <ProfileColumnHeader onClick={this.handleHeaderClick} /> |         <ProfileColumnHeader onClick={this.handleHeaderClick} /> | ||||||
| 
 | 
 | ||||||
|         <HeaderContainer accountId={this.props.params.accountId} hideTabs /> |  | ||||||
| 
 |  | ||||||
|         <ScrollableList |         <ScrollableList | ||||||
|           scrollKey='following' |           scrollKey='following' | ||||||
|           hasMore={hasMore} |           hasMore={hasMore} | ||||||
|           onLoadMore={this.handleLoadMore} |           onLoadMore={this.handleLoadMore} | ||||||
|           shouldUpdateScroll={this.shouldUpdateScroll} |           shouldUpdateScroll={this.shouldUpdateScroll} | ||||||
|  |           prepend={<HeaderContainer accountId={this.props.params.accountId} hideTabs />} | ||||||
|  |           alwaysPrepend | ||||||
|  |           alwaysShowScrollbar | ||||||
|           emptyMessage={emptyMessage} |           emptyMessage={emptyMessage} | ||||||
|         > |         > | ||||||
|           {accountIds.map(id => |           {accountIds.map(id => | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue