Fix scrolling on small devices for account timelines and compose column
This commit is contained in:
		
							parent
							
								
									4470330385
								
							
						
					
					
						commit
						b8eda3026f
					
				| 
						 | 
				
			
			@ -74,13 +74,11 @@ const Account = React.createClass({
 | 
			
		|||
 | 
			
		||||
    return (
 | 
			
		||||
      <Column>
 | 
			
		||||
        <div style={{ display: 'flex', flexDirection: 'column', 'flex': '0 0 auto', height: '100%' }}>
 | 
			
		||||
          <Header account={account} me={me} />
 | 
			
		||||
        <Header account={account} me={me} />
 | 
			
		||||
 | 
			
		||||
          <ActionBar account={account} me={me} onFollow={this.handleFollow} onBlock={this.handleBlock} />
 | 
			
		||||
        <ActionBar account={account} me={me} onFollow={this.handleFollow} onBlock={this.handleBlock} />
 | 
			
		||||
 | 
			
		||||
          {this.props.children}
 | 
			
		||||
        </div>
 | 
			
		||||
        {this.props.children}
 | 
			
		||||
      </Column>
 | 
			
		||||
    );
 | 
			
		||||
  }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,7 +5,8 @@ const style = {
 | 
			
		|||
  background: '#454b5e',
 | 
			
		||||
  padding: '0',
 | 
			
		||||
  display: 'flex',
 | 
			
		||||
  flexDirection: 'column'
 | 
			
		||||
  flexDirection: 'column',
 | 
			
		||||
  overflowY: 'auto'
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
const Drawer = React.createClass({
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue