Skip to content
Snippets Groups Projects
Commit b8eda302 authored by Eugen Rochko's avatar Eugen Rochko
Browse files

Fix scrolling on small devices for account timelines and compose column

parent 44703303
No related branches found
No related tags found
No related merge requests found
...@@ -74,13 +74,11 @@ const Account = React.createClass({ ...@@ -74,13 +74,11 @@ const Account = React.createClass({
return ( return (
<Column> <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} {this.props.children}
</div>
</Column> </Column>
); );
} }
......
...@@ -5,7 +5,8 @@ const style = { ...@@ -5,7 +5,8 @@ const style = {
background: '#454b5e', background: '#454b5e',
padding: '0', padding: '0',
display: 'flex', display: 'flex',
flexDirection: 'column' flexDirection: 'column',
overflowY: 'auto'
}; };
const Drawer = React.createClass({ const Drawer = React.createClass({
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment